wok-current annotate gzip-full/receipt @ rev 20313
linux, openssh: add tcp_stealth patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 18 13:47:33 2018 +0200 (2018-05-18) |
parents | 9e01bc6321ea |
children | eb5a3cc75bb7 |
rev | line source |
---|---|
erjo@8054 | 1 # SliTaz package receipt. |
erjo@8054 | 2 |
erjo@8054 | 3 PACKAGE="gzip-full" |
pascal@20180 | 4 VERSION="1.9" |
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... " |
pascal@18730 | 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... " |
pascal@18730 | 35 ln -s busybox "$1/bin/uncompress" |
pascal@18730 | 36 ln -s busybox "$1/bin/zcat" |
al@17264 | 37 status |
al@17264 | 38 } |