wok-next rev 21535

updated bzip2 (1.0.6 -> 1.0.8)
author Hans-G?nter Theisgen
date Sun Jun 21 15:29:38 2020 +0100 (2020-06-21)
parents 989aaeb3f8f1
children 39afd1f4ffe0
files bzip2/receipt
line diff
     1.1 --- a/bzip2/receipt	Sat Jun 20 17:43:14 2020 +0100
     1.2 +++ b/bzip2/receipt	Sun Jun 21 15:29:38 2020 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="bzip2"
     1.7 -VERSION="1.0.6" # 2010-09-20
     1.8 +VERSION="1.0.8"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="A program and library for data compression"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 -WEB_SITE="https://web.archive.org/web/20180801004107/http://www.bzip.org/"
    1.15 +WEB_SITE="https://sourceware.org/bzip2/"
    1.16  LFS="http://www.linuxfromscratch.org/lfs/view/svn/chapter06/bzip2.html"
    1.17  
    1.18  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19  #WGET_URL="http://www.bzip.org/$VERSION/$TARBALL"
    1.20  #WGET_URL="https://web.archive.org/web/20180624184835if_/http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz"
    1.21 -WGET_URL="https://fossies.org/linux/misc/bzip2-1.0.6.tar.gz"
    1.22 -TARBALL_SHA1="3f89f861209ce81a6bab1fd1998c0ef311712002"
    1.23 -TARBALL_MD5="00b516f4704d4a7cb50a1d97e6e8e15b"
    1.24 -
    1.25 +#WGET_URL="https://fossies.org/linux/misc/bzip2-1.0.6.tar.gz"
    1.26 +WGET_URL="https://sourceware.org/pub/$PACKAGE/$TARBALL"
    1.27 +#TARBALL_SHA1="3f89f861209ce81a6bab1fd1998c0ef311712002"
    1.28 +#TARBALL_MD5="00b516f4704d4a7cb50a1d97e6e8e15b"
    1.29 +TARBALL_SHA256="083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3"
    1.30  SPLIT="lib$PACKAGE $PACKAGE $PACKAGE-dev"
    1.31  
    1.32  CAT_libbzip2="libs|shared library"
    1.33 @@ -26,7 +27,8 @@
    1.34  
    1.35  TAGS_std="LFS compression archive"
    1.36  
    1.37 -compile_rules() {
    1.38 +compile_rules()
    1.39 +{
    1.40  	# add large-file support
    1.41  	sed -i 's/^CFLAGS=\(.*\)$/CFLAGS=\1 \$(BIGFILES)/' ./Makefile-libbz2_so
    1.42  
    1.43 @@ -35,13 +37,15 @@
    1.44  	make &&
    1.45  	make install || return 1
    1.46  
    1.47 -	rm $install/usr/bin/bunzip2 $install/usr/bin/bzcat
    1.48 -	ln -s bzip2 $install/bin/bunzip2
    1.49 -	ln -s bzip2 $install/bin/bzcat
    1.50 +	rm		$install/usr/bin/bunzip2
    1.51 +	rm		$install/usr/bin/bzcat
    1.52 +	ln -s bzip2	$install/bin/bunzip2
    1.53 +	ln -s bzip2	$install/bin/bzcat
    1.54  }
    1.55  
    1.56  # Just to be sure when cross-compiling.
    1.57 -testsuite() {
    1.58 +testsuite()
    1.59 +{
    1.60  	readelf -h $src/bzip2-shared
    1.61  }
    1.62