diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-10-13 02:56:49 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-10-13 03:06:08 +0200 |
commit | b426704eceb43cc241be8dad113f33ea8f839d58 (patch) | |
tree | af54c7656019a4f98acddcdc3be3db2d2f50d70d /main/libnftnl | |
parent | 5ed382e12b17d06a04e060df757bef686c91cacc (diff) | |
download | aports-b426704eceb43cc241be8dad113f33ea8f839d58.tar.bz2 aports-b426704eceb43cc241be8dad113f33ea8f839d58.tar.xz |
main/libnftnl: modernize abuild
Diffstat (limited to 'main/libnftnl')
-rw-r--r-- | main/libnftnl/APKBUILD | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/main/libnftnl/APKBUILD b/main/libnftnl/APKBUILD index d19a73d4a9..f95f1f67fd 100644 --- a/main/libnftnl/APKBUILD +++ b/main/libnftnl/APKBUILD @@ -7,30 +7,27 @@ pkgdesc="Netfilter library providing interface to the nf_tables subsystem" url="http://netfilter.org/projects/libnftnl/" arch="all" license="GPL2" -depends="" depends_dev="libmnl-dev" makedepends="$depends_dev bash" -install="" subpackages="$pkgname-dev $pkgname-libs" source="http://netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2" +builddir="$srcdir/$pkgname-$pkgver" -builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" + ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - make DESTDIR="$pkgdir" \ - -C "$builddir" install || return 1 + make DESTDIR="$pkgdir" -C "$builddir" install } md5sums="82183867168eb6644926c48b991b8aac libnftnl-1.0.7.tar.bz2" |