aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcap-ng
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-07 14:18:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-07 14:18:56 +0000
commite349765e32d91566ed042a322ff89ab4b3a3e476 (patch)
tree7947f47ecc6fd5d280096997fd6754505359421a /main/libcap-ng
parentde324753cf388f50452c5bcd7bf723ea133080b0 (diff)
downloadaports-e349765e32d91566ed042a322ff89ab4b3a3e476.tar.bz2
aports-e349765e32d91566ed042a322ff89ab4b3a3e476.tar.xz
main/libcap-ng: moved from testing
fixes #95
Diffstat (limited to 'main/libcap-ng')
-rw-r--r--main/libcap-ng/APKBUILD41
1 files changed, 41 insertions, 0 deletions
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 <ncopa@alpinelinux.org>
+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"