wok-next view libcap/receipt @ rev 1611
transmission: depends on libgio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 14:32:41 2008 +0000 (2008-10-19) |
parents | fbe10c375c66 |
children | 02bd8097e11e |
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"
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 cp -a $_pkg/lib $fs
32 cp -a $_pkg/sbin $fs
33 }