diff options
Diffstat (limited to 'main/libcap-ng/APKBUILD')
-rw-r--r-- | main/libcap-ng/APKBUILD | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/main/libcap-ng/APKBUILD b/main/libcap-ng/APKBUILD index 5834f6262ee..b3397c90ec1 100644 --- a/main/libcap-ng/APKBUILD +++ b/main/libcap-ng/APKBUILD @@ -1,22 +1,19 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libcap-ng -pkgver=0.7.10 +pkgver=0.8.4 pkgrel=0 pkgdesc="POSIX capabilities library" -url="http://people.redhat.com/sgrubb/libcap-ng/index.html" +url="https://people.redhat.com/sgrubb/libcap-ng/index.html" arch="all" -license="GPL-2.0-or-later LGPL-2.1-or-later" +license="GPL-2.0-or-later AND LGPL-2.1-or-later" depends_dev="linux-headers" -makedepends_build="" makedepends_host="$depends_dev" -subpackages="$pkgname-dev $pkgname-doc $pkgname-utils" +subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-utils" source="https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-$pkgver.tar.gz - fix-includes.patch + apply-disable.patch " -builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir" ac_cv_prog_swig_found=no \ ./configure \ --build=$CBUILD \ @@ -26,26 +23,26 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --without-python \ - --without-python3 + --without-python3 \ + --enable-static make } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } utils() { pkgdesc="posix capabilities utils" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/* "$subpkgdir"/usr/bin/ + amove usr/bin } -sha512sums="1b93c7f5c20ae5cc705fe5244af3e299454e988388cda95f006e248d97c0713e77da2a81c67ecf15755f3958df373fc6d1ca14197d6357ab1f2d8c3a0fd12def libcap-ng-0.7.10.tar.gz -8de98ce0fae63812cf7fd17e788343798b0cab63ba029f046ac9b89b2305da17432bafdd3dfa36046fc2cc0a453e0c889f6744c632f4617e0e5fc08e2823e324 fix-includes.patch" +sha512sums=" +f4f3499d592e8583c2bdb8d700981a7930bd545f0889bc02f49acecf17e3bc600b100cd4f64e9326e5bac0a07a02a1ac4b7e83e919563066665a3d67cbe6871e libcap-ng-0.8.4.tar.gz +5f362d5d3f791d1bddc5d9ef3b31e5089c54f852904e12bc3b58dcd22fa87086766cfc095ae8b485bee1b3c4fd854575b89821052b77967a6fdca4ff7e0a0397 apply-disable.patch +" |