diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 19:15:23 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 19:15:35 +0100 |
commit | 6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch) | |
tree | b5e6da6d95b9a1235d82032b509b80483a886ff5 /libcap/Pkgfile | |
download | base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2 base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip |
Engagement initial.
Diffstat (limited to 'libcap/Pkgfile')
-rw-r--r-- | libcap/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libcap/Pkgfile b/libcap/Pkgfile new file mode 100644 index 0000000..988b0e2 --- /dev/null +++ b/libcap/Pkgfile @@ -0,0 +1,21 @@ +description="POSIX.1e capabilities library" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +url="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/README" +depends=(attr) + +name=libcap +version=2.19 +release=1 +source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.19.tar.bz2) +build () +{ + cd libcap-$version; + sed -i '/^CFLAGS :=/s/:/\?/' Make.Rules; + make; + make DESTDIR=$PKG man_prefix=/usr install; + install -d $PKG/usr/lib; + mv $PKG/lib/libcap.a $PKG/usr/lib; + rm $PKG/lib/libcap.so; + ln -s ../../lib/libcap.so.$version $PKG/usr/lib/libcap.so +} |