summaryrefslogtreecommitdiffstats
path: root/base/libcap/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 19:20:43 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 19:20:43 +0200
commitd46bfd93d6d4e7ad13e96792c55486be2351aacf (patch)
tree879161b56c10e8c11a5977226944995181d8f923 /base/libcap/Pkgfile
parent1d25f3deb104dc4e2d83d0093ae6b3f38fcf8d2e (diff)
downloadnutyx-pakxe-d46bfd93d6d4e7ad13e96792c55486be2351aacf.tar.gz
nutyx-pakxe-d46bfd93d6d4e7ad13e96792c55486be2351aacf.tar.bz2
nutyx-pakxe-d46bfd93d6d4e7ad13e96792c55486be2351aacf.tar.xz
nutyx-pakxe-d46bfd93d6d4e7ad13e96792c55486be2351aacf.zip
Ajout de libcap#2.16-1
Diffstat (limited to 'base/libcap/Pkgfile')
-rwxr-xr-xbase/libcap/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/base/libcap/Pkgfile b/base/libcap/Pkgfile
new file mode 100755
index 000000000..480a7f0b1
--- /dev/null
+++ b/base/libcap/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Librairie posix 1003.1e version 2
+# URL: http://www.kernel.org/pub/linux/libs/security/linux-privs/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libattr
+
+name=libcap
+version=2.16
+release=1
+source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.bz2\
+ $name-$version-makefile.patch $name-$version-drop-linux-workarounds.patch)
+
+build() {
+ cd $name-$version
+ patch -p0 -i $SRC/$name-$version-makefile.patch
+ patch -p0 -i $SRC/$name-$version-drop-linux-workarounds.patch
+ make
+ make \
+ INCDIR=$PKG/usr/include \
+ LIBDIR=$PKG/usr/lib \
+ SBINDIR=$PKG/usr/sbin \
+ MANDIR=$PKG/usr/man install
+
+ # man8 is empty, cap{set,get}(2) come from core/man-pages
+ rm -rf $PKG/usr/man/man{2,8}
+
+}