wok annotate gzip-full/receipt @ rev 25247
updated python-wcwidth (0.1.9 -> 0.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 14 07:22:55 2022 +0100 (2022-07-14) |
parents | eb5a3cc75bb7 |
children | 096ad9edc98b |
rev | line source |
---|---|
erjo@8054 | 1 # SliTaz package receipt. |
erjo@8054 | 2 |
erjo@8054 | 3 PACKAGE="gzip-full" |
pascal@24100 | 4 VERSION="1.11" |
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 } |