wok diff bzip2/receipt @ rev 22575

updated bzip2 and bzip2-dev (1.0.6 -> 1.0.8)
author Hans-G?nter Theisgen
date Mon Jan 06 16:31:02 2020 +0100 (2020-01-06)
parents 1a95dca96d7f
children 68cf96abc146
line diff
     1.1 --- a/bzip2/receipt	Tue Oct 22 19:46:38 2019 +0200
     1.2 +++ b/bzip2/receipt	Mon Jan 06 16:31:02 2020 +0100
     1.3 @@ -1,35 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bzip2"
     1.7 -VERSION="1.0.6"
     1.8 +VERSION="1.0.8"
     1.9  CATEGORY="utilities"
    1.10 +TAGS="compression archive"
    1.11  SHORT_DESC="High-quality data compressor."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="https://sourceware.org/bzip2/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://sourceware.org/bzip2/"
    1.18 -WGET_URL="http://www.bzip.org/$VERSION/$TARBALL"
    1.19 -TAGS="compression archive"
    1.20 -HOST_ARCH="i486 arm"
    1.21 +WGET_URL="https://sourceware.org/pub/$PACKAGE/$TARBALL"
    1.22  
    1.23  DEPENDS="bzlib"
    1.24  BUILD_DEPENDS=""
    1.25  
    1.26 +HOST_ARCH="i486 arm"
    1.27 +
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31  	# Disable the tests since they won't work on a multi-architecture build
    1.32  	cp Makefile Makefile.orig
    1.33  	sed -e "/^all:/s/ test//" Makefile.orig > Makefile
    1.34 -	
    1.35 +
    1.36  	# No configure script, we must used CC, AR and RANLIB set by cook.
    1.37  	case "$ARCH" in
    1.38  		arm*)
    1.39  			make -f Makefile-libbz2_so CC=${CC} AR=${AR} RANLIB=${RANLIB} &&
    1.40 -			make clean && make CC=${CC} AR=${AR} RANLIB=${RANLIB} ;;
    1.41 +			make clean &&
    1.42 +			make CC=${CC} AR=${AR} RANLIB=${RANLIB} ;;
    1.43  		*)
    1.44  			make -f Makefile-libbz2_so &&
    1.45 -			make clean && make ;;
    1.46 +			make clean &&
    1.47 +			make ;;
    1.48  	esac
    1.49  
    1.50  	cook_pick_manpages bzdiff.1 bzgrep.1 bzip2.1 bzmore.1
    1.51 @@ -45,7 +49,8 @@
    1.52  genpkg_rules()
    1.53  {
    1.54  	mkdir -p $fs/usr/bin
    1.55 -	cp -a $src/bzip2-shared $fs/usr/bin/bzip2
    1.56 +	cp -a $src/bzip2-shared	$fs/usr/bin/bzip2
    1.57 +
    1.58  	# Da bunzip2, bzcat and lib symlink.
    1.59  	cd $fs/usr/bin
    1.60  	ln -s bzip2 bunzip2
    1.61 @@ -55,7 +60,7 @@
    1.62  # Restore Busybox symlinks upon removal
    1.63  post_remove()
    1.64  {
    1.65 -	ln -s /bin/busybox /usr/bin/bunzip2
    1.66 -	ln -s /bin/busybox /usr/bin/bzcat
    1.67 -	#ln -s /bin/busybox /usr/bin/bzip2
    1.68 +	ln -s /bin/busybox	/usr/bin/bunzip2
    1.69 +	ln -s /bin/busybox	/usr/bin/bzcat
    1.70 +	#ln -s /bin/busybox	/usr/bin/bzip2
    1.71  }