summaryrefslogtreecommitdiffstats
path: root/main/libcap-ng
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2010-07-14 15:39:29 +0000
committerAndrew Manison <amanison@anselsystems.com>2010-07-14 15:39:29 +0000
commit6e8020140bbfb5e42802eed7c1491e675924cc01 (patch)
treecc54f3cce7238609561da3b2de59e2d3780c1085 /main/libcap-ng
parent4ae2c3d81c309f93d2c41e22e71c5cf445123896 (diff)
parentdaa6e0d05fff7a0d1216fd6719e32d5426b24e8b (diff)
downloadaports-6e8020140bbfb5e42802eed7c1491e675924cc01.tar.bz2
aports-6e8020140bbfb5e42802eed7c1491e675924cc01.tar.xz
Merge remote branch 'alpine/master'
Conflicts: main/man-pages/APKBUILD
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 000000000..3abe2e231
--- /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"