wok-current annotate libcap/receipt @ rev 1059
Up: abiword (2.6.4)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jul 15 00:59:07 2008 +0200 (2008-07-15) |
parents | cf22fee17710 |
children | 43a430d3251a |
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" |
pankso@6 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@6 | 10 WEB_SITE="http://www.kernel.org/pub/linux/libs/security/linux-privs/" |
pankso@1007 | 11 WGET_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$TARBALL" |
pankso@6 | 12 |
pankso@6 | 13 # Rules to configure and make the package. |
pankso@6 | 14 compile_rules() |
pankso@6 | 15 { |
pankso@1007 | 16 # Temp sym link for xattr.h |
pankso@1007 | 17 mkdir -p /usr/include/attr |
pankso@1007 | 18 ln -s /usr/include/linux/xattr.h /usr/include/attr/xattr.h |
pankso@6 | 19 cd $src |
pankso@6 | 20 make |
pankso@1007 | 21 rm -rf /usr/include/attr |
pankso@6 | 22 make FAKEROOT=$PWD/_pkg install |
pankso@6 | 23 } |
pankso@6 | 24 |
pankso@6 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 26 genpkg_rules() |
pankso@6 | 27 { |
pankso@6 | 28 cp -a $_pkg/lib $fs |
pankso@6 | 29 cp -a $_pkg/sbin $fs |
pankso@6 | 30 } |