wok view firejail/receipt @ rev 25583

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 31 16:56:53 2023 +0000 (17 months ago)
parents 5ea0ce1cecc0
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="firejail"
4 VERSION="0.9.68"
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 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="gawk gcc83 linux-api-headers"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 CC=gcc-83 \
28 EXTRA_LDFLAGS="-lrt" \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders etc
42 cook_copy_folders bin
43 cook_copy_folders lib
44 }