wok annotate gzip-full/receipt @ rev 19092
Add brower-html5 virtual package (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 01 10:46:33 2016 +0200 (2016-05-01) |
parents | e30b21af1714 |
children | 35a23f513b71 |
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... " |
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 } |