Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1362 - (show annotations)
Tue Oct 6 11:15:20 2009 UTC (3 years, 7 months ago) by cjg
File size: 647 byte(s)
tagging release 2.5
1 # Description: POSIX.1e capabilities library
2 # URL: http://linux.kernel.org/pub/linux/libs/security/linux-privs/
3 # Maintainer: Antti Nykanen, aon at iki dot fi
4 # Depends on: libattr
5
6 name=libcap
7 version=2.16
8 release=1
9 source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/libcap-$version.tar.gz
10 $name-$version-makefile.patch)
11
12 build () {
13 cd libcap-$version
14
15 patch -p0 -i $SRC/$name-$version-makefile.patch
16
17 make
18 make \
19 INCDIR=$PKG/usr/include \
20 LIBDIR=$PKG/usr/lib \
21 SBINDIR=$PKG/usr/sbin \
22 MANDIR=$PKG/usr/man install
23
24 # man8 is empty, cap{set,get}(2) come from core/man-pages
25 rm -rf $PKG/usr/man/man{2,8}
26 }