wok-next view gzip-full/receipt @ rev 19507
Update SliTaz projects: slitaz-base-files(316), slitaz-tools(1006), tazinst(84), tazlito(443), tazpanel(609), tazpkg(928), tazusb(193), tazweb(173).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Nov 20 00:33:44 2016 +0200 (2016-11-20) |
parents | e30b21af1714 |
children | 708211fae5b6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gzip-full"
4 VERSION="1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU compression utilities"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnu.org/software/gzip/"
10 WANTED="gzip"
12 DEPENDS="gzip"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr
19 cp -a $install/usr/bin $fs/usr
20 rm -f $fs/usr/bin/gzip $fs/usr/bin/gunzip
21 }
23 # Pre and post install commands for Tazpkg.
24 # We must remove all Busybox symlink before installing.
25 pre_install()
26 {
27 echo -n "Removing Busybox uncompress and zcat utilities... "
28 rm -f "$1/bin/uncompress" "$1/bin/zcat"
29 status
30 }
32 post_remove()
33 {
34 echo -n "Restoring Busybox uncompress and zcat utilities... "
35 ln -s busybox "$1/bin/uncompress"
36 ln -s busybox "$1/bin/zcat"
37 status
38 }