1 # Description: POSIX.1e capabilities library
2 # URL: http://sites.google.com/site/fullycapable/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
9 source=(http://crux.s3.amazonaws.com/dist/libcap-$version.tar.bz2)
14 sed -i "/^CFLAGS/s/-O2/$CFLAGS/" Make.Rules
16 make CC="$CC" BUILD_CC="gcc" BUILD_CFLAGS="-O2 -pipe"
17 make RAISE_SETFCAP=no DESTDIR=$PKG man_prefix=/usr install
19 install -d $PKG/usr/lib
20 mv $PKG/lib/libcap.a $PKG/usr/lib
22 ln -s ../../lib/libcap.so.$version $PKG/usr/lib/libcap.so