contrib/libcap/Pkgfile

27 lines
647 B
Plaintext
Raw Normal View History

2006-10-31 07:49:42 +01:00
# Description: POSIX.1e capabilities library
# URL: http://linux.kernel.org/pub/linux/libs/security/linux-privs/
# Maintainer: Antti Nykanen, aon at iki dot fi
2007-12-02 16:37:22 +01:00
# Depends on: libattr
2006-10-31 07:49:42 +01:00
name=libcap
2008-07-10 12:22:21 +02:00
version=2.11
2007-12-02 16:37:22 +01:00
release=1
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 07:49:42 +01:00
build () {
cd libcap-$version
2008-03-20 22:44:37 +01:00
patch -p1 -i $SRC/$name-$version-makefile.patch
2007-12-02 16:37:22 +01:00
2006-10-31 07:49:42 +01:00
make
make \
INCDIR=$PKG/usr/include \
LIBDIR=$PKG/usr/lib \
SBINDIR=$PKG/usr/sbin \
MANDIR=$PKG/usr/man install
2007-12-02 16:37:22 +01:00
# man8 is empty, cap{set,get}(2) come from core/man-pages
rm -rf $PKG/usr/man/man{2,8}
2006-10-31 07:49:42 +01:00
}