summaryrefslogtreecommitdiffstats
path: root/extra/libcap/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-24 23:53:02 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-24 23:53:02 +0100
commit8e8ad512d60cb2a150926713c7a4e8e6abd000de (patch)
treef27fda8a3ef122d4212dff11fcc1880bcda8ccb0 /extra/libcap/Pkgfile
parentada4d25277d8d686b8e6b1c22340924e871e0ae0 (diff)
downloadnutyx-extra-8e8ad512d60cb2a150926713c7a4e8e6abd000de.tar.gz
nutyx-extra-8e8ad512d60cb2a150926713c7a4e8e6abd000de.tar.bz2
nutyx-extra-8e8ad512d60cb2a150926713c7a4e8e6abd000de.tar.xz
nutyx-extra-8e8ad512d60cb2a150926713c7a4e8e6abd000de.zip
Paquets avec dépendances déplacés dans extra
Diffstat (limited to 'extra/libcap/Pkgfile')
-rwxr-xr-xextra/libcap/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/libcap/Pkgfile b/extra/libcap/Pkgfile
new file mode 100755
index 000000000..49f7388db
--- /dev/null
+++ b/extra/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/share/man install
+
+ # man8 is empty, cap{set,get}(2) come from core/man-pages
+ rm -rf $PKG/usr/share/man/man{2,8}
+
+}