From 77bad5ead56d454fb65d9c4b7b4241477ea874fc Mon Sep 17 00:00:00 2001 From: prspkt Date: Wed, 4 Sep 2019 18:38:00 +0300 Subject: community/libnsl: add static subpackage, modernize Signed-off-by: prspkt --- community/libnsl/APKBUILD | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'community') diff --git a/community/libnsl/APKBUILD b/community/libnsl/APKBUILD index 845e0832a4..f2af752499 100644 --- a/community/libnsl/APKBUILD +++ b/community/libnsl/APKBUILD @@ -8,27 +8,23 @@ url="https://github.com/thkukuk/libnsl" arch="all" license="LGPL-2.0-or-later" makedepends="autoconf automake libtool libc-dev gettext-dev libtirpc-dev file" -subpackages="$pkgname-dev" +subpackages="$pkgname-static $pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/thkukuk/$pkgname/archive/v$pkgver.tar.gz nis_h.patch cdefs.patch " -builddir="$srcdir/$pkgname-$pkgver" check() { - cd "$builddir" make check } prepare() { default_prepare - cd "$builddir" ./autogen.sh sed 's/0.19/0.20/g' -i po/Makefile.in.in } build() { - cd "$builddir" ./configure LIBS="-lintl" \ --build=$CBUILD \ --host=$CHOST \ @@ -37,7 +33,6 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } -- cgit v1.2.3