wok diff gzip/receipt @ rev 17989
qemu: apply cloop.u
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 23 13:30:18 2015 +0200 (2015-04-23) |
parents | 2b9f96603415 |
children | e715990c5f63 |
line diff
1.1 --- a/gzip/receipt Sat Aug 10 13:52:56 2013 +0000 1.2 +++ b/gzip/receipt Thu Apr 23 13:30:18 2015 +0200 1.3 @@ -1,12 +1,12 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gzip" 1.7 -VERSION="1.5" 1.8 +VERSION="1.6" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Data compression program" 1.11 +SHORT_DESC="GNU compression utilities (gzip and gunzip)" 1.12 MAINTAINER="erjo@slitaz.org" 1.13 LICENSE="GPL3" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz" 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 1.19 @@ -16,7 +16,6 @@ 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 - cd $src 1.24 ./configure \ 1.25 --prefix=/usr \ 1.26 --infodir=/usr/share/info \ 1.27 @@ -35,20 +34,17 @@ 1.28 1.29 # Pre and post install commands for Tazpkg. 1.30 # We must remove all Busybox symlink before installing. 1.31 -# 1.32 pre_install() 1.33 { 1.34 - local root 1.35 - root=$1 1.36 - echo "Processing pre-install commands..." 1.37 - echo -n "Removing all Busybox replaced utils... " 1.38 - rm -f $root/bin/gzip 1.39 - rm -f $root/bin/gunzip 1.40 + echo -n "Removing Busybox gzip and gunzip utilities... " 1.41 + rm -f $1/bin/gzip $1/bin/gunzip 1.42 status 1.43 } 1.44 1.45 post_remove() 1.46 { 1.47 - ln -s $1/bin/busybox $1/bin/gzip 1.48 - ln -s $1/bin/busybox $1/bin/gunzip 1.49 + echo -n "Restoring Busybox gzip and gunzip utilities... " 1.50 + ln -s busybox $1/bin/gzip 1.51 + ln -s busybox $1/bin/gunzip 1.52 + status 1.53 }