wok-next diff pigz/receipt @ rev 20573

More fix libtool
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 17:21:19 2018 +0300 (2018-04-13)
parents f7f621732ebe
children d5aab818505e
line diff
     1.1 --- a/pigz/receipt	Sun Oct 22 20:53:07 2017 +0200
     1.2 +++ b/pigz/receipt	Fri Apr 13 17:21:19 2018 +0300
     1.3 @@ -1,29 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pigz"
     1.8  VERSION="2.3.3"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="Parallel Implementation of GZip."
    1.11 +SHORT_DESC="Parallel Implementation of GZip"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="Apache"
    1.14 +WEB_SITE="http://www.zlib.net/pigz"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.zlib.net/pigz"
    1.18  WGET_URL="$WEB_SITE/$TARBALL"
    1.19  
    1.20 -DEPENDS="zlib"
    1.21  BUILD_DEPENDS="zlib-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	sed -i 's/-lz/& -lm/' Makefile
    1.28 -	make
    1.29 +	make || return 1
    1.30 +
    1.31 +	install -Dm 755 $src/pigz $install/usr/bin/pigz
    1.32 +	ln -s                pigz $install/usr/bin/unpigz
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 -	mkdir -p $fs/usr/bin
    1.39 -	cp $src/pigz $fs/usr/bin
    1.40 -	ln -s pigz $fs/usr/bin/unpigz
    1.41 +genpkg_rules() {
    1.42 +	copy @std
    1.43 +	DEPENDS="zlib"
    1.44  }