wok-6.x view libcap/receipt @ rev 1121

gpxe: add cmdline support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 21 14:22:01 2008 +0000 (2008-07-21)
parents cf22fee17710
children 43a430d3251a
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
11 WGET_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 # Temp sym link for xattr.h
17 mkdir -p /usr/include/attr
18 ln -s /usr/include/linux/xattr.h /usr/include/attr/xattr.h
19 cd $src
20 make
21 rm -rf /usr/include/attr
22 make FAKEROOT=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $_pkg/lib $fs
29 cp -a $_pkg/sbin $fs
30 }