2006-10-31 08:49:42 +02:00
|
|
|
# Description: POSIX.1e capabilities library
|
|
|
|
# URL: http://linux.kernel.org/pub/linux/libs/security/linux-privs/
|
2008-06-24 21:52:17 +03:00
|
|
|
# Maintainer: Antti Nykanen, aon at iki dot fi
|
2007-12-02 17:37:22 +02:00
|
|
|
# Depends on: libattr
|
2006-10-31 08:49:42 +02:00
|
|
|
|
|
|
|
name=libcap
|
2008-07-10 13:22:21 +03:00
|
|
|
version=2.11
|
2007-12-02 17:37:22 +02:00
|
|
|
release=1
|
2008-07-30 22:10:19 +03:00
|
|
|
source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/libcap-$version.tar.gz
|
|
|
|
$name-$version-makefile.patch)
|
2006-10-31 08:49:42 +02:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd libcap-$version
|
2008-03-20 23:44:37 +02:00
|
|
|
|
2008-07-30 22:10:19 +03:00
|
|
|
patch -p1 -i $SRC/$name-$version-makefile.patch
|
2007-12-02 17:37:22 +02:00
|
|
|
|
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
|
|
|
|
|
2007-12-02 17:37:22 +02:00
|
|
|
# man8 is empty, cap{set,get}(2) come from core/man-pages
|
|
|
|
rm -rf $PKG/usr/man/man{2,8}
|
2006-10-31 08:49:42 +02:00
|
|
|
}
|