wok-next diff gzip/receipt @ rev 19589

Up faenza-icon-theme, tzdata.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 21 11:36:06 2017 +0200 (2017-01-21)
parents 9e01bc6321ea
children 9a17d981d0f7
line diff
     1.1 --- a/gzip/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/gzip/receipt	Sat Jan 21 11:36:06 2017 +0200
     1.3 @@ -1,51 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gzip"
     1.7 -VERSION="1.6"
     1.8 +VERSION="1.8"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="GNU compression utilities (gzip and gunzip)"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 +WEB_SITE="https://www.gnu.org/software/gzip/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 -WEB_SITE="http://www.gnu.org/software/gzip/"
    1.17 -WGET_URL="http://ftp.gnu.org/gnu/gzip/$TARBALL"
    1.18 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20  DEPENDS="glibc-base"
    1.21  BUILD_DEPENDS="glibc-dev"
    1.22 +SPLIT="gzip-full"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	./configure \
    1.28 -		--prefix=/usr \
    1.29 -		--infodir=/usr/share/info \
    1.30 -		--mandir=/usr/share/man \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 -	make && make DESTDIR=$DESTDIR install
    1.33 +	./configure $CONFIGURE_ARGS && make && make install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr/bin
    1.40 -	cp -a $install/usr/bin/zgrep $fs/usr/bin
    1.41 -	cp -a $install/usr/bin/gzip $fs/usr/bin
    1.42 -	cp -a $install/usr/bin/gunzip $fs/usr/bin
    1.43 +	cook_copy_files gzip gunzip zgrep
    1.44  }
    1.45  
    1.46 -# Pre and post install commands for Tazpkg.
    1.47 -# We must remove all Busybox symlink before installing.
    1.48  pre_install()
    1.49  {
    1.50 -	echo -n "Removing Busybox gzip and gunzip utilities... "
    1.51 +	# Removing Busybox gzip and gunzip applets
    1.52 +	# as we have /usr/bin/gzip and /usr/bin/gunzip in this package
    1.53  	rm -f "$1/bin/gzip" "$1/bin/gunzip"
    1.54 -	status
    1.55  }
    1.56  
    1.57  post_remove()
    1.58  {
    1.59 -	echo -n "Restoring Busybox gzip and gunzip utilities... "
    1.60  	ln -s busybox "$1/bin/gzip"
    1.61  	ln -s busybox "$1/bin/gunzip"
    1.62 -	status
    1.63  }