wok annotate libcap/receipt @ rev 2372

cairo-dev, gtk+-dev, xorg-libXrender-dev: update depends, thanks Matthew
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 17:54:41 2009 +0000 (2009-03-06)
parents 43a430d3251a
children 4a83c4b49c5d
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@2197 9 BUILD_DEPENDS="gperf pam-dev"
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 {
pascal@2197 31 mkdir -p $fs/lib
pascal@2197 32 cp -a $_pkg/lib/lib* $fs/lib
pankso@6 33 cp -a $_pkg/sbin $fs
pankso@6 34 }