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

Up: xine-lib (1.1.15)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Aug 21 15:41:50 2008 +0200 (2008-08-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 }