wok view proot/receipt @ rev 25656

Up fwknop (2.6.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 09 11:08:06 2024 +0000 (5 months ago)
parents 98ece8cc8707
children
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd src
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/src/proot $fs/usr/bin
36 }