aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnftnl
diff options
context:
space:
mode:
Diffstat (limited to 'main/libnftnl')
-rw-r--r--main/libnftnl/APKBUILD13
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"