wok rev 1007

Up: libcap (2.10)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jul 07 18:04:01 2008 +0200 (2008-07-07)
parents 71aeaedf0b9b
children 2be9698f3728
files libcap-dev/receipt libcap/receipt
line diff
     1.1 --- a/libcap-dev/receipt	Mon Jul 07 16:00:15 2008 +0000
     1.2 +++ b/libcap-dev/receipt	Mon Jul 07 18:04:01 2008 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libcap-dev"
     1.7 -VERSION="1.97"
     1.8 +VERSION="2.10"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Support for getting/setting POSIX.1e capabilities."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/libcap/receipt	Mon Jul 07 16:00:15 2008 +0000
     2.2 +++ b/libcap/receipt	Mon Jul 07 18:04:01 2008 +0200
     2.3 @@ -1,20 +1,24 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libcap"
     2.7 -VERSION="1.97"
     2.8 +VERSION="2.10"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Support for getting/setting POSIX.1e capabilities."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  DEPENDS="linux"
    2.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14  WEB_SITE="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
    2.15 -WGET_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap1/$TARBALL"
    2.16 +WGET_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$TARBALL"
    2.17  
    2.18  # Rules to configure and make the package.
    2.19  compile_rules()
    2.20  {
    2.21 +	# Temp sym link for xattr.h
    2.22 +	mkdir -p /usr/include/attr
    2.23 +	ln -s /usr/include/linux/xattr.h /usr/include/attr/xattr.h
    2.24  	cd $src
    2.25  	make
    2.26 +	rm -rf /usr/include/attr
    2.27  	make FAKEROOT=$PWD/_pkg install
    2.28  }
    2.29  
    2.30 @@ -23,6 +27,4 @@
    2.31  {
    2.32  	cp -a $_pkg/lib $fs
    2.33  	cp -a $_pkg/sbin $fs
    2.34 -	strip -s $fs/lib/*
    2.35 -	strip -s $fs/sbin/*
    2.36  }