wok diff libcap/receipt @ rev 2189
Add pure-ftpd-pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 09 09:58:01 2009 +0000 (2009-02-09) |
parents | fbe10c375c66 |
children | 02bd8097e11e |
line diff
1.1 --- a/libcap/receipt Mon Jul 07 18:04:01 2008 +0200 1.2 +++ b/libcap/receipt Mon Feb 09 09:58:01 2009 +0000 1.3 @@ -6,19 +6,22 @@ 1.4 SHORT_DESC="Support for getting/setting POSIX.1e capabilities." 1.5 MAINTAINER="pankso@slitaz.org" 1.6 DEPENDS="linux" 1.7 +BUILD_DEPENDS="gperf" 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WEB_SITE="http://www.kernel.org/pub/linux/libs/security/linux-privs/" 1.10 -WGET_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$TARBALL" 1.11 +WGET_URL="${WEB_SITE}libcap2/$TARBALL" 1.12 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - # Temp sym link for xattr.h 1.17 - mkdir -p /usr/include/attr 1.18 - ln -s /usr/include/linux/xattr.h /usr/include/attr/xattr.h 1.19 + if [ ! -d $WOK/linux/taz ]; then 1.20 + tazwok cook linux 1.21 + fi 1.22 cd $src 1.23 - make 1.24 - rm -rf /usr/include/attr 1.25 + sed -i -e s/'\\n'/"' -e '1i"/g -e 's/| indent -kr//' libcap/Makefile 1.26 + mkdir libcap/include/attr 1.27 + ln -s $WOK/linux/linux-*/include/linux/xattr.h libcap/include/attr/ 1.28 + make && 1.29 make FAKEROOT=$PWD/_pkg install 1.30 } 1.31