wok diff pigz/receipt @ rev 25229

updated python-pyst2 (0.5.0 -> 0.5.1)
author Hans-G?nter Theisgen
date Wed Jul 13 16:59:13 2022 +0100 (2022-07-13)
parents d765616e1f3d
children a3503ff52a2e
line diff
     1.1 --- a/pigz/receipt	Sat May 07 20:53:56 2022 +0000
     1.2 +++ b/pigz/receipt	Wed Jul 13 16:59:13 2022 +0100
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pigz"
     1.7 -VERSION="2.4"
     1.8 +VERSION="2.7"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Parallel Implementation of GZip."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="Apache"
    1.13 +WEB_SITE="https://zlib.net/pigz/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.zlib.net/pigz"
    1.17 -WGET_URL="https://github.com/madler/pigz/archive/v$VERSION.tar.gz"
    1.18 +WGET_URL="${WEB_SITE}$TARBALL"
    1.19  
    1.20  DEPENDS=""
    1.21  BUILD_DEPENDS=""
    1.22 @@ -24,25 +25,28 @@
    1.23  compile_rules()
    1.24  {
    1.25  	sed -i 's/-lz/& -lm/' Makefile
    1.26 +
    1.27  	make
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33 -	mkdir -p $fs/usr/bin $install/usr/share/man
    1.34 -	cp $src/pigz.1 $install/usr/share/man
    1.35 -	cp $src/pigz $fs/usr/bin
    1.36 -	ln -s pigz $fs/usr/bin/unpigz
    1.37 +	mkdir -p $fs/usr/bin
    1.38 +	mkdir -p $install/usr/share/man
    1.39 +
    1.40 +	cp $src/pigz.1	$install/usr/share/man
    1.41 +	cp $src/pigz	$fs/usr/bin
    1.42 +	ln -s pigz	$fs/usr/bin/unpigz
    1.43  }
    1.44  
    1.45  pre_remove()
    1.46  {
    1.47 -	sed -i '/gzip=pigz/d' $1/etc/profile
    1.48 +	sed -i '/gzip=pigz/d'		$1/etc/profile
    1.49  }
    1.50  
    1.51  post_install()
    1.52  {
    1.53 -	grep -qs 'gzip=pigz' $1/etc/profile ||
    1.54 -	echo 'alias gzip=pigz' >> $1/etc/profile
    1.55 +	grep -qs 'gzip=pigz'		$1/etc/profile ||
    1.56 +	echo 'alias gzip=pigz' >>	$1/etc/profile
    1.57  }