SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "proot"

# SliTaz package receipt.

PACKAGE="proot"
VERSION="5.3.1"
CATEGORY="misc"
SHORT_DESC="User-space implementation of chroot, mount --bind, and binfmt_misc.."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://proot-me.github.io/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/proot-me/$PACKAGE/archive/v$VERSION.tar.gz"

DEPENDS="talloc"
BUILD_DEPENDS="libarchive-dev talloc-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd src
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/src/proot    $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)