wok-next diff pbzip2/receipt @ rev 20666

Up freeglut (3.0.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 03:09:34 2018 +0300 (2018-05-11)
parents d3eb5f4b53ea
children 8e1b2a143eb3
line diff
     1.1 --- a/pbzip2/receipt	Thu Mar 26 09:34:19 2015 +0100
     1.2 +++ b/pbzip2/receipt	Fri May 11 03:09:34 2018 +0300
     1.3 @@ -1,27 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pbzip2"
     1.8  VERSION="1.1.9"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="Parallel implementation of bzip2."
    1.11 +SHORT_DESC="Parallel implementation of bzip2"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="http://compression.ca"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://compression.ca"
    1.18  WGET_URL="https://launchpad.net/pbzip2/${VERSION%.*}/$VERSION/+download/$TARBALL"
    1.19  
    1.20 -DEPENDS="bzlib"
    1.21 -BUILD_DEPENDS="bzip2-dev wget"
    1.22 +BUILD_DEPENDS="bzip2-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	make
    1.28 +compile_rules() {
    1.29 +	make &&
    1.30 +	install -Dm 755 $src/pbzip2 $install/usr/bin/pbzip2
    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 $src/pbzip2 $fs/usr/bin
    1.38 +genpkg_rules() {
    1.39 +	copy @std
    1.40 +	DEPENDS="bzlib"
    1.41  }