wok-next diff gzip-full/receipt @ rev 19675

Update some build dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 24 12:53:44 2017 +0200 (2017-03-24)
parents 9e01bc6321ea
children
line diff
     1.1 --- a/gzip-full/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/gzip-full/receipt	Fri Mar 24 12:53:44 2017 +0200
     1.3 @@ -1,38 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gzip-full"
     1.7 -VERSION="1.6"
     1.8 +VERSION="1.8"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="GNU compression utilities"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13  WEB_SITE="http://www.gnu.org/software/gzip/"
    1.14 +
    1.15  WANTED="gzip"
    1.16 -
    1.17  DEPENDS="gzip"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr
    1.23 -
    1.24 -	cp -a $install/usr/bin $fs/usr
    1.25 -	rm -f $fs/usr/bin/gzip $fs/usr/bin/gunzip
    1.26 +	cook_copy_folders bin
    1.27 +	cook_split_rm gzip
    1.28  }
    1.29  
    1.30 -# Pre and post install commands for Tazpkg.
    1.31 -# We must remove all Busybox symlink before installing.
    1.32  pre_install()
    1.33  {
    1.34 -	echo -n "Removing Busybox uncompress and zcat utilities... "
    1.35 +	# Removing Busybox uncompress and zcat applets
    1.36 +	# as we have /usr/bin/uncompress and /usr/bin/zcat in this package
    1.37  	rm -f "$1/bin/uncompress" "$1/bin/zcat"
    1.38 -	status
    1.39  }
    1.40  
    1.41  post_remove()
    1.42  {
    1.43 -	echo -n "Restoring Busybox uncompress and zcat utilities... "
    1.44  	ln -s busybox "$1/bin/uncompress"
    1.45  	ln -s busybox "$1/bin/zcat"
    1.46 -	status
    1.47  }