wok annotate firejail/receipt @ rev 19951
azdrawing: fix ressource path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 08 12:16:55 2017 +0200 (2017-05-08) |
parents | |
children | 7dbcd0a901ae |
rev | line source |
---|---|
pascal@18681 | 1 # SliTaz package receipt. |
pascal@18681 | 2 |
pascal@18681 | 3 PACKAGE="firejail" |
pascal@18681 | 4 VERSION="0.9.34" |
pascal@18681 | 5 CATEGORY="security" |
pascal@18681 | 6 SHORT_DESC="A SUID sandbox program" |
pascal@18681 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18681 | 8 LICENSE="GPL2" |
pascal@18681 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@18681 | 10 WEB_SITE="https://l3net.wordpress.com/projects/firejail/" |
pascal@18681 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@18681 | 12 |
pascal@18681 | 13 BUILD_DEPENDS="linux-api-headers" |
pascal@18681 | 14 |
pascal@18681 | 15 # Rules to configure and make the package. |
pascal@18681 | 16 compile_rules() |
pascal@18681 | 17 { |
pascal@18681 | 18 ./configure --prefix=/usr \ |
pascal@18681 | 19 --sysconfdir=/etc \ |
pascal@18681 | 20 --localstatedir=/var \ |
pascal@18681 | 21 --mandir=/usr/share/man \ |
pascal@18681 | 22 $CONFIGURE_ARGS && |
pascal@18681 | 23 make && |
pascal@18681 | 24 make DESTDIR=$DESTDIR install |
pascal@18681 | 25 } |
pascal@18681 | 26 |
pascal@18681 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18681 | 28 genpkg_rules() |
pascal@18681 | 29 { |
pascal@18681 | 30 mkdir -p $fs/usr |
pascal@18681 | 31 cp -a $install/usr/bin $fs/usr |
pascal@18681 | 32 cp -a $install/usr/lib $fs/usr |
pascal@18681 | 33 cp -a $install/etc $fs |
pascal@18681 | 34 } |