wok view firejail/receipt @ rev 24230
updated perl-json (4.02 -> 4.04)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 06:47:59 2022 +0100 (2022-01-02) |
parents | 7dbcd0a901ae |
children | af8e063c8097 |
line source
1 # SliTaz package receipt.
3 PACKAGE="firejail"
4 VERSION="0.9.62"
5 CATEGORY="security"
6 SHORT_DESC="A SUID sandbox program."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://firejail.wordpress.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/netblue30/$PACKAGE/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="linux-api-headers"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 cp -a $install/etc $fs
43 }