wok-next annotate gzip-full/receipt @ rev 18388
btrfs-progs: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 18 13:29:50 2015 +0200 (2015-09-18) |
parents | 38aa1647ef56 |
children | 9e01bc6321ea |
rev | line source |
---|---|
erjo@8054 | 1 # SliTaz package receipt. |
erjo@8054 | 2 |
erjo@8054 | 3 PACKAGE="gzip-full" |
al@17264 | 4 VERSION="1.6" |
erjo@8054 | 5 CATEGORY="system-tools" |
al@17264 | 6 SHORT_DESC="GNU compression utilities" |
erjo@8054 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
erjo@8054 | 9 WEB_SITE="http://www.gnu.org/software/gzip/" |
erjo@8054 | 10 WANTED="gzip" |
erjo@8054 | 11 |
pascal@14999 | 12 DEPENDS="gzip" |
pascal@14999 | 13 |
erjo@8054 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8054 | 15 genpkg_rules() |
erjo@8054 | 16 { |
al@17264 | 17 mkdir -p $fs/usr |
al@17264 | 18 |
al@17264 | 19 cp -a $install/usr/bin $fs/usr |
al@17264 | 20 rm -f $fs/usr/bin/gzip $fs/usr/bin/gunzip |
erjo@8054 | 21 } |
erjo@8054 | 22 |
al@17264 | 23 # Pre and post install commands for Tazpkg. |
al@17264 | 24 # We must remove all Busybox symlink before installing. |
al@17264 | 25 pre_install() |
al@17264 | 26 { |
al@17264 | 27 echo -n "Removing Busybox uncompress and zcat utilities... " |
al@17264 | 28 rm -f $1/bin/uncompress $1/bin/zcat |
al@17264 | 29 status |
al@17264 | 30 } |
al@17264 | 31 |
al@17264 | 32 post_remove() |
al@17264 | 33 { |
al@17264 | 34 echo -n "Restoring Busybox uncompress and zcat utilities... " |
al@17264 | 35 ln -s busybox $1/bin/uncompress |
al@17264 | 36 ln -s busybox $1/bin/zcat |
al@17264 | 37 status |
al@17264 | 38 } |