# HG changeset patch # User Pascal Bellard # Date 1399628434 0 # Node ID d4c113773ad1be1b7133ff6749a7dda0d2906312 # Parent dfb9c04d63ed49ea1d1c6af993d1a2cb3c40d019 Add proot diff -r dfb9c04d63ed -r d4c113773ad1 proot/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/proot/receipt Fri May 09 09:40:34 2014 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="proot" +VERSION="3.2.2" +CATEGORY="misc" +SHORT_DESC="User-space implementation of chroot, mount --bind, and binfmt_misc.." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://proot.me/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/cedric-vincent/PRoot/archive/v$VERSION.tar.gz" + +DEPENDS="talloc" +BUILD_DEPENDS="wget talloc-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src/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 +}