wok-next view gzip/receipt @ rev 17527

xchat,hexchat: enable ssl
author Richard Dunbar <mojo@slitaz.org>
date Mon Jan 19 03:01:45 2015 -0500 (2015-01-19)
parents 2b9f96603415
children e715990c5f63
line source
1 # SliTaz package receipt.
3 PACKAGE="gzip"
4 VERSION="1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU compression utilities (gzip and gunzip)"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnu.org/software/gzip/"
11 WGET_URL="http://ftp.gnu.org/gnu/gzip/$TARBALL"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="glibc-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin/gzip $fs/usr/bin
32 cp -a $install/usr/bin/gunzip $fs/usr/bin
33 }
35 # Pre and post install commands for Tazpkg.
36 # We must remove all Busybox symlink before installing.
37 pre_install()
38 {
39 echo -n "Removing Busybox gzip and gunzip utilities... "
40 rm -f $1/bin/gzip $1/bin/gunzip
41 status
42 }
44 post_remove()
45 {
46 echo -n "Restoring Busybox gzip and gunzip utilities... "
47 ln -s busybox $1/bin/gzip
48 ln -s busybox $1/bin/gunzip
49 status
50 }