wok annotate firejail/receipt @ rev 25616
Add emu2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 26 15:51:29 2023 +0000 (14 months ago) |
parents | af8e063c8097 |
children | c370be1be30e |
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@25599 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25599 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@18681 | 24 # Rules to configure and make the package. |
pascal@18681 | 25 compile_rules() |
pascal@18681 | 26 { |
Hans-G?nter@22725 | 27 ./configure \ |
Hans-G?nter@24550 | 28 CC=gcc-83 \ |
Hans-G?nter@24550 | 29 EXTRA_LDFLAGS="-lrt" \ |
Hans-G?nter@22725 | 30 --prefix=/usr \ |
Hans-G?nter@22725 | 31 --sysconfdir=/etc \ |
Hans-G?nter@22725 | 32 --localstatedir=/var \ |
Hans-G?nter@22725 | 33 --mandir=/usr/share/man \ |
pascal@18681 | 34 $CONFIGURE_ARGS && |
pascal@18681 | 35 make && |
Hans-G?nter@24550 | 36 make install DESTDIR=$DESTDIR |
pascal@18681 | 37 } |
pascal@18681 | 38 |
pascal@18681 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18681 | 40 genpkg_rules() |
pascal@18681 | 41 { |
Hans-G?nter@24550 | 42 cook_copy_folders etc |
Hans-G?nter@24550 | 43 cook_copy_folders bin |
Hans-G?nter@24550 | 44 cook_copy_folders lib |
pascal@18681 | 45 } |