wok-6.x rev 11451
Add: libcap-ng
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Dec 17 10:53:46 2011 +0100 (2011-12-17) |
parents | aa3bb2ecfa32 |
children | ac27ba25d90a |
files | libcap-ng-dev/receipt libcap-ng/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libcap-ng-dev/receipt Sat Dec 17 10:53:46 2011 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libcap-ng-dev" 1.7 +VERSION="0.6.6" 1.8 +CATEGORY="security" 1.9 +SHORT_DESC="Libcap-ng dev files." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +WEB_SITE="http://people.redhat.com/sgrubb/libcap-ng/" 1.12 +WANTED="libcap-ng" 1.13 + 1.14 +DEPENDS="libcap" 1.15 +PROVIDE="libcap-dev" 1.16 +SUGGESTED="libcap-ng-utils" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + mkdir -p $fs/usr/lib $fs/usr/share 1.22 + 1.23 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.24 + cp -a $install/usr/include $fs/usr 1.25 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.26 + cp -a $install/usr/share/aclocal $fs/usr/share 1.27 +} 1.28 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libcap-ng/receipt Sat Dec 17 10:53:46 2011 +0100 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libcap-ng" 2.7 +VERSION="0.6.6" 2.8 +CATEGORY="security" 2.9 +SHORT_DESC="New generation libcap library." 2.10 +MAINTAINER="erjo@slitaz.org" 2.11 +WEB_SITE="http://people.redhat.com/sgrubb/libcap-ng/" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WGET_URL="http://people.redhat.com/sgrubb/libcap-ng/$TARBALL" 2.14 + 2.15 +DEPENDS="" 2.16 +BUILD_DEPENDS="" 2.17 +PROVIDE="libcap" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + cd $src 2.23 + 2.24 + ./configure $CONFIGURE_ARGS && make && make install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr/lib 2.31 + 2.32 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.33 + cp -a $install/usr/bin $fs/usr 2.34 +}