wok-current annotate firejail/receipt @ rev 25124

updated apache-mod-perl (2.0.8 -> 2.0.11)
author Hans-G?nter Theisgen
date Tue Jun 28 16:23:55 2022 +0100 (2022-06-28)
parents 5ea0ce1cecc0
children
rev   line source
pascal@18681 1 # SliTaz package receipt.
pascal@18681 2
pascal@18681 3 PACKAGE="firejail"
Hans-G?nter@24550 4 VERSION="0.9.68"
pascal@18681 5 CATEGORY="security"
Hans-G?nter@22725 6 SHORT_DESC="A SUID sandbox program."
pascal@18681 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18681 8 LICENSE="GPL2"
Hans-G?nter@22725 9 WEB_SITE="https://firejail.wordpress.com/"
Hans-G?nter@22725 10
Hans-G?nter@22725 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22725 12 WGET_URL="https://github.com/netblue30/$PACKAGE/archive/$VERSION.tar.gz"
pascal@18681 13
Hans-G?nter@24550 14 DEPENDS="gcc83-lib-base"
Hans-G?nter@24550 15 BUILD_DEPENDS="gawk gcc83 linux-api-headers"
pascal@18681 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@18681 23 # Rules to configure and make the package.
pascal@18681 24 compile_rules()
pascal@18681 25 {
Hans-G?nter@22725 26 ./configure \
Hans-G?nter@24550 27 CC=gcc-83 \
Hans-G?nter@24550 28 EXTRA_LDFLAGS="-lrt" \
Hans-G?nter@22725 29 --prefix=/usr \
Hans-G?nter@22725 30 --sysconfdir=/etc \
Hans-G?nter@22725 31 --localstatedir=/var \
Hans-G?nter@22725 32 --mandir=/usr/share/man \
pascal@18681 33 $CONFIGURE_ARGS &&
pascal@18681 34 make &&
Hans-G?nter@24550 35 make install DESTDIR=$DESTDIR
pascal@18681 36 }
pascal@18681 37
pascal@18681 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18681 39 genpkg_rules()
pascal@18681 40 {
Hans-G?nter@24550 41 cook_copy_folders etc
Hans-G?nter@24550 42 cook_copy_folders bin
Hans-G?nter@24550 43 cook_copy_folders lib
pascal@18681 44 }