wok view proot/receipt @ rev 25152

updated proot (5.1.0 -> 5.3.1)
author Hans-G?nter Theisgen
date Thu Jun 30 14:53:40 2022 +0100 (22 months ago)
parents 5ea0ce1cecc0
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="proot"
4 VERSION="5.3.1"
5 CATEGORY="misc"
6 SHORT_DESC="User-space implementation of chroot, mount --bind, and binfmt_misc.."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://proot-me.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/proot-me/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="talloc"
15 BUILD_DEPENDS="libarchive-dev talloc-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd src
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/src/proot $fs/usr/bin
35 }