wok-next diff libcap/receipt @ rev 19725
Up lives (2.8.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 25 11:14:35 2017 +0200 (2017-05-25) |
parents | ee294d252003 |
children | 9a17d981d0f7 |
line diff
1.1 --- a/libcap/receipt Sun Feb 15 12:51:49 2015 +0000 1.2 +++ b/libcap/receipt Thu May 25 11:14:35 2017 +0200 1.3 @@ -1,15 +1,16 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libcap" 1.7 -VERSION="2.24" 1.8 +VERSION="2.25" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Support for getting/setting POSIX.1e capabilities." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="BSD" 1.13 +WEB_SITE="https://sites.google.com/site/fullycapable/" 1.14 +HOST_ARCH="i486 arm" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.17 -WEB_SITE="http://sites.google.com/site/fullycapable/" 1.18 -WGET_URL="http://ftp.df.lth.se/pub/linux/libs/security/linux-privs/libcap2/$TARBALL" 1.19 -HOST_ARCH="i486 arm" 1.20 +WGET_URL="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$TARBALL" 1.21 1.22 DEPENDS="attr" 1.23 BUILD_DEPENDS="gperf pam-dev attr-dev" 1.24 @@ -23,14 +24,21 @@ 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - make DYNAMIC=yes ${ARCH_ARGS} && 1.29 - make RAISE_SETCAP=no DESTDIR=$DESTDIR install 1.30 + sed -i '/install.*STALIBNAME/d' libcap/Makefile 1.31 + 1.32 + make $ARCH_ARGS && 1.33 + make RAISE_SETFCAP=no prefix=/usr install 1.34 + 1.35 + chmod 755 $install/usr/lib/libcap.so 1.36 + mkdir $install/lib 1.37 + mv $install/usr/lib/libcap.so.* $install/lib 1.38 + ln -sf ../../lib/$(readlink $install/usr/lib/libcap.so) \ 1.39 + $install/usr/lib/libcap.so 1.40 } 1.41 1.42 # Rules to gen a SliTaz package suitable for Tazpkg. 1.43 genpkg_rules() 1.44 { 1.45 - mkdir -p $fs/lib 1.46 - cp -a $install/lib/*.so* $fs/lib 1.47 - cp -a $install/sbin $fs 1.48 + cook_copy_folders sbin 1.49 + cook_copy_files *.so* 1.50 }