wok view libcap/receipt @ rev 2811
libQtSvg update to 4.5.0
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Wed Apr 29 10:19:31 2009 +0000 (2009-04-29) |
parents | 43a430d3251a |
children | 4a83c4b49c5d |
line source
1 # SliTaz package receipt.
3 PACKAGE="libcap"
4 VERSION="2.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="Support for getting/setting POSIX.1e capabilities."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux"
9 BUILD_DEPENDS="gperf pam-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
12 WGET_URL="${WEB_SITE}libcap2/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 if [ ! -d $WOK/linux/taz ]; then
18 tazwok cook linux
19 fi
20 cd $src
21 sed -i -e s/'\\n'/"' -e '1i"/g -e 's/| indent -kr//' libcap/Makefile
22 mkdir libcap/include/attr
23 ln -s $WOK/linux/linux-*/include/linux/xattr.h libcap/include/attr/
24 make &&
25 make FAKEROOT=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/lib
32 cp -a $_pkg/lib/lib* $fs/lib
33 cp -a $_pkg/sbin $fs
34 }