2006-10-31 08:49:42 +02:00
|
|
|
|
# Description: POSIX.1e capabilities library
|
|
|
|
|
# URL: http://linux.kernel.org/pub/linux/libs/security/linux-privs/
|
|
|
|
|
# Maintainer: Antti Nyk<79>nen, aon at iki dot fi
|
|
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
|
|
name=libcap
|
|
|
|
|
version=1.10
|
2007-03-25 12:41:38 +03:00
|
|
|
|
release=2
|
|
|
|
|
source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/libcap-$version.tar.gz
|
|
|
|
|
libcap-$version-cap_sys.patch)
|
2006-10-31 08:49:42 +02:00
|
|
|
|
|
|
|
|
|
build () {
|
|
|
|
|
cd libcap-$version
|
2007-03-25 12:41:38 +03:00
|
|
|
|
patch -p0 -i $SRC/libcap-$version-cap_sys.patch
|
2006-10-31 08:49:42 +02:00
|
|
|
|
make
|
|
|
|
|
make \
|
|
|
|
|
INCDIR=$PKG/usr/include \
|
|
|
|
|
LIBDIR=$PKG/usr/lib \
|
|
|
|
|
SBINDIR=$PKG/usr/sbin \
|
|
|
|
|
MANDIR=$PKG/usr/man install
|
|
|
|
|
|
|
|
|
|
# these conflict with core/man-pages
|
|
|
|
|
rm $PKG/usr/man/man2/cap{get,set}.2
|
|
|
|
|
}
|