wok-4.x annotate libcap/receipt @ rev 2076

Add: libexe*, libxfce4mcs*, libxfce4util*, libxfcegui4*
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jan 23 23:12:13 2009 +0100 (2009-01-23)
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 }