wok-current annotate libcap/receipt @ rev 2058
Up lua (5.1.4), thanks mimas
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 21 10:34:09 2009 +0000 (2009-01-21) |
parents | fbe10c375c66 |
children | 02bd8097e11e |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="libcap" |
pankso@1007 | 4 VERSION="2.10" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@6 | 6 SHORT_DESC="Support for getting/setting POSIX.1e capabilities." |
pankso@6 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@6 | 8 DEPENDS="linux" |
pascal@1563 | 9 BUILD_DEPENDS="gperf" |
pankso@6 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@6 | 11 WEB_SITE="http://www.kernel.org/pub/linux/libs/security/linux-privs/" |
pascal@1563 | 12 WGET_URL="${WEB_SITE}libcap2/$TARBALL" |
pankso@6 | 13 |
pankso@6 | 14 # Rules to configure and make the package. |
pankso@6 | 15 compile_rules() |
pankso@6 | 16 { |
pascal@1563 | 17 if [ ! -d $WOK/linux/taz ]; then |
pascal@1563 | 18 tazwok cook linux |
pascal@1563 | 19 fi |
pankso@6 | 20 cd $src |
pascal@1563 | 21 sed -i -e s/'\\n'/"' -e '1i"/g -e 's/| indent -kr//' libcap/Makefile |
pascal@1563 | 22 mkdir libcap/include/attr |
pascal@1563 | 23 ln -s $WOK/linux/linux-*/include/linux/xattr.h libcap/include/attr/ |
pascal@1563 | 24 make && |
pankso@6 | 25 make FAKEROOT=$PWD/_pkg install |
pankso@6 | 26 } |
pankso@6 | 27 |
pankso@6 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 29 genpkg_rules() |
pankso@6 | 30 { |
pankso@6 | 31 cp -a $_pkg/lib $fs |
pankso@6 | 32 cp -a $_pkg/sbin $fs |
pankso@6 | 33 } |