wok annotate proot/receipt @ rev 25064

openvas-libraries, openvas-client: update gnutls calls
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 08 16:46:37 2022 +0000 (2022-06-08)
parents cb3f10eaf9f6
children 98ece8cc8707
rev   line source
pascal@16623 1 # SliTaz package receipt.
pascal@16623 2
pascal@16623 3 PACKAGE="proot"
Hans-G?nter@21705 4 VERSION="5.1.0"
pascal@16623 5 CATEGORY="misc"
pascal@16623 6 SHORT_DESC="User-space implementation of chroot, mount --bind, and binfmt_misc.."
pascal@16623 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16623 8 LICENSE="GPL2"
Hans-G?nter@21705 9 WEB_SITE="https://proot-me.github.io/"
Hans-G?nter@21705 10
pascal@16623 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21705 12 WGET_URL="https://github.com/proot-me/$PACKAGE/archive/v$VERSION.tar.gz"
pascal@16623 13
pascal@16623 14 DEPENDS="talloc"
Hans-G?nter@21705 15 BUILD_DEPENDS="talloc-dev"
pascal@16623 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|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@16623 23 # Rules to configure and make the package.
pascal@16623 24 compile_rules()
pascal@16623 25 {
pascal@16623 26 cd $src/src
pascal@16623 27 make
pascal@16623 28 }
pascal@16623 29
pascal@16623 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16623 31 genpkg_rules()
pascal@16623 32 {
pascal@16623 33 mkdir -p $fs/usr/bin
pascal@16623 34 cp -a $src/src/proot $fs/usr/bin
pascal@16623 35 }