wok-current view libcap/receipt @ rev 3452

get-softmodem-driver: fix to hsf auto config
author Dominique Corbex <domcox@users.sourceforge.net>
date Mon Jun 15 09:08:48 2009 +0200 (2009-06-15)
parents 4a83c4b49c5d
children 759a344ac7ab
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 pam-dev"
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/$(ls $WOK/linux/taz)/include/linux/xattr.h \
24 libcap/include/attr/
25 make &&
26 make FAKEROOT=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/lib
33 cp -a $_pkg/lib/lib* $fs/lib
34 cp -a $_pkg/sbin $fs
35 }