diff options
-rw-r--r-- | community/libnsl/APKBUILD (renamed from testing/libnsl/APKBUILD) | 19 | ||||
-rw-r--r-- | community/libnsl/cdefs.patch (renamed from testing/libnsl/cdefs.patch) | 0 | ||||
-rw-r--r-- | community/libnsl/nis_h.patch (renamed from testing/libnsl/nis_h.patch) | 0 |
3 files changed, 9 insertions, 10 deletions
diff --git a/testing/libnsl/APKBUILD b/community/libnsl/APKBUILD index 8ccb76087d..167934883c 100644 --- a/testing/libnsl/APKBUILD +++ b/community/libnsl/APKBUILD @@ -2,16 +2,12 @@ # Maintainer: Valery Kartel <valery.kartel@gmail.com> pkgname=libnsl pkgver=1.0.5 -pkgrel=1 +pkgrel=2 pkgdesc="Public client interface for NIS(YP) and NIS+ in a IPv6 ready version" url="https://github.com/thkukuk/libnsl" arch="all" license="LGPL2+" -options="!check" -depends= -depends_dev= -makedepends="autoconf automake libtool libc-dev gettext-dev libtirpc-dev" -install= +makedepends="autoconf automake libtool libc-dev gettext-dev libtirpc-dev file" subpackages="$pkgname-dev" source="https://github.com/thkukuk/$pkgname/archive/$pkgname-$pkgver.tar.gz nis_h.patch @@ -19,9 +15,13 @@ source="https://github.com/thkukuk/$pkgname/archive/$pkgname-$pkgver.tar.gz " builddir="$srcdir/$pkgname-$pkgname-$pkgver" -prepare() { - default_prepare || return 1 +check() { + cd "$builddir" + make check +} +prepare() { + default_prepare cd "$builddir" ./autogen.sh } @@ -31,8 +31,7 @@ build() { ./configure LIBS="-lintl" \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 + --prefix=/usr make } diff --git a/testing/libnsl/cdefs.patch b/community/libnsl/cdefs.patch index dbbe800a34..dbbe800a34 100644 --- a/testing/libnsl/cdefs.patch +++ b/community/libnsl/cdefs.patch diff --git a/testing/libnsl/nis_h.patch b/community/libnsl/nis_h.patch index 199259df2e..199259df2e 100644 --- a/testing/libnsl/nis_h.patch +++ b/community/libnsl/nis_h.patch |