summaryrefslogtreecommitdiff
path: root/libcap/Pkgfile
blob: bd1c23fa36550933d847edc86c81b0fb560e3485 (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: libattr
    5 
    6 name=libcap
    7 version=2.08
    8 release=1
    9 source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/libcap-$version.tar.gz)
   10 
   11 build () {
   12 	cd libcap-$version
   13 	
   14 	sed -i 's:gperf:false:' libcap/Makefile
   15 
   16 	make
   17 	make \
   18 		INCDIR=$PKG/usr/include \
   19 		LIBDIR=$PKG/usr/lib \
   20 		SBINDIR=$PKG/usr/sbin \
   21 		MANDIR=$PKG/usr/man install
   22 
   23 	# man8 is empty, cap{set,get}(2) come from core/man-pages
   24 	rm -rf $PKG/usr/man/man{2,8}
   25 }

Generated by cgit