From e349765e32d91566ed042a322ff89ab4b3a3e476 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 7 Jul 2010 14:18:56 +0000 Subject: main/libcap-ng: moved from testing fixes #95 --- main/libcap-ng/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 main/libcap-ng/APKBUILD (limited to 'main/libcap-ng') diff --git a/main/libcap-ng/APKBUILD b/main/libcap-ng/APKBUILD new file mode 100644 index 0000000000..3abe2e2317 --- /dev/null +++ b/main/libcap-ng/APKBUILD @@ -0,0 +1,41 @@ +# Maintainer: Natanael Copa +pkgname=libcap-ng +pkgver=0.6.4 +pkgrel=0 +pkgdesc="posix capabilities library" +url="http://people.redhat.com/sgrubb/libcap-ng/index.html" +license="GPL" +depends= +makedepends="python" +install= +subpackages="$pkgname-dev $pkgname-doc $pkgname-utils" +source="http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +utils() { + pkgdesc="posix capabilities utils" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/* "$subpkgdir"/usr/bin/ +} + +md5sums="ae817cd585ca11db257330b392003ed6 libcap-ng-0.6.4.tar.gz" -- cgit v1.2.3