wok-next diff proot/receipt @ rev 20491

More packing...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 13 02:04:32 2018 +0200 (2018-03-13)
parents d4c113773ad1
children d5aab818505e
line diff
     1.1 --- a/proot/receipt	Fri May 09 09:40:34 2014 +0000
     1.2 +++ b/proot/receipt	Tue Mar 13 02:04:32 2018 +0200
     1.3 @@ -1,28 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="proot"
     1.8  VERSION="3.2.2"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="User-space implementation of chroot, mount --bind, and binfmt_misc.."
    1.11 +SHORT_DESC="User-space implementation of chroot, mount --bind, and binfmt_misc"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://proot.me/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="https://github.com/cedric-vincent/PRoot/archive/v$VERSION.tar.gz"
    1.18  
    1.19 -DEPENDS="talloc"
    1.20 -BUILD_DEPENDS="wget talloc-dev"
    1.21 +BUILD_DEPENDS="talloc-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	cd $src/src
    1.28 -	make
    1.29 +	make &&
    1.30 +	install -Dm 755 $src/src/proot $install/usr/bin/proot
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 -	mkdir -p $fs/usr/bin
    1.37 -	cp -a $src/src/proot $fs/usr/bin
    1.38 +genpkg_rules() {
    1.39 +	copy @std
    1.40 +	DEPENDS="talloc"
    1.41  }