wok-current annotate libcap/receipt @ rev 3366
Add OpenERP client (GTK gui)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jun 11 23:26:24 2009 +0200 (2009-06-11) |
parents | 4a83c4b49c5d |
children | 759a344ac7ab |
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@2995 | 23 ln -s $WOK/linux/$(ls $WOK/linux/taz)/include/linux/xattr.h \ |
pascal@2993 | 24 libcap/include/attr/ |
pascal@1563 | 25 make && |
pankso@6 | 26 make FAKEROOT=$PWD/_pkg install |
pankso@6 | 27 } |
pankso@6 | 28 |
pankso@6 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 30 genpkg_rules() |
pankso@6 | 31 { |
pascal@2197 | 32 mkdir -p $fs/lib |
pascal@2197 | 33 cp -a $_pkg/lib/lib* $fs/lib |
pankso@6 | 34 cp -a $_pkg/sbin $fs |
pankso@6 | 35 } |