From d46bfd93d6d4e7ad13e96792c55486be2351aacf Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 8 Aug 2009 19:20:43 +0200 Subject: Ajout de libcap#2.16-1 --- base/libcap/Pkgfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 base/libcap/Pkgfile (limited to 'base/libcap/Pkgfile') 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} + +} -- cgit v1.2.3-70-g09d2