wok-next annotate libcap-ng/receipt @ rev 18681
Add firejail
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 18:47:06 2015 +0100 (2015-12-09) |
parents | 54d9c01beaff |
children | b367284a8ac3 |
rev | line source |
---|---|
erjo@11451 | 1 # SliTaz package receipt. |
erjo@11451 | 2 |
erjo@11451 | 3 PACKAGE="libcap-ng" |
erjo@11451 | 4 VERSION="0.6.6" |
erjo@11451 | 5 CATEGORY="security" |
erjo@11451 | 6 SHORT_DESC="New generation libcap library." |
erjo@11451 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15472 | 8 LICENSE="GPL2 LGPL2.1" |
erjo@11451 | 9 WEB_SITE="http://people.redhat.com/sgrubb/libcap-ng/" |
erjo@11451 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11451 | 11 WGET_URL="http://people.redhat.com/sgrubb/libcap-ng/$TARBALL" |
erjo@11451 | 12 |
erjo@11451 | 13 DEPENDS="" |
gokhlayeh@11479 | 14 BUILD_DEPENDS="python" |
erjo@11451 | 15 PROVIDE="libcap" |
erjo@11451 | 16 |
erjo@11451 | 17 # Rules to configure and make the package. |
erjo@11451 | 18 compile_rules() |
erjo@11451 | 19 { |
erjo@11451 | 20 cd $src |
erjo@11451 | 21 |
erjo@11451 | 22 ./configure $CONFIGURE_ARGS && make && make install |
erjo@11451 | 23 } |
erjo@11451 | 24 |
erjo@11451 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11451 | 26 genpkg_rules() |
erjo@11451 | 27 { |
erjo@11451 | 28 mkdir -p $fs/usr/lib |
erjo@11451 | 29 |
erjo@11451 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@11451 | 31 cp -a $install/usr/bin $fs/usr |
erjo@11451 | 32 } |