blob: e588c90e8226483763af0a318c092469547f9566 (
plain)
1 # Description: POSIX.1e capabilities library
2 # URL: http://linux.kernel.org/pub/linux/libs/security/linux-privs/
3 # Maintainer: Antti Nykänen, aon at iki dot fi
4 # Depends on:
5
6 name=libcap
7 version=1.10
8 release=2
9 source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/libcap-$version.tar.gz
10 libcap-$version-cap_sys.patch)
11
12 build () {
13 cd libcap-$version
14 patch -p0 -i $SRC/libcap-$version-cap_sys.patch
15 make
16 make \
17 INCDIR=$PKG/usr/include \
18 LIBDIR=$PKG/usr/lib \
19 SBINDIR=$PKG/usr/sbin \
20 MANDIR=$PKG/usr/man install
21
22 # these conflict with core/man-pages
23 rm $PKG/usr/man/man2/cap{get,set}.2
24 }
|