wok view gzip/receipt @ rev 21112
updated libarchive and libarchive-dev (3.2.2 -> 3.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 19 16:04:31 2019 +0100 (2019-03-19) |
parents | 35a23f513b71 |
children | f8a963794d31 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gzip"
4 VERSION="1.10"
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/zgrep $fs/usr/bin
32 cp -a $install/usr/bin/gzip $fs/usr/bin
33 cp -a $install/usr/bin/gunzip $fs/usr/bin
34 }
36 # Pre and post install commands for Tazpkg.
37 # We must remove all Busybox symlink before installing.
38 pre_install()
39 {
40 echo -n "Removing Busybox gzip and gunzip utilities... "
41 rm -f "$1/bin/gzip" "$1/bin/gunzip"
42 status
43 }
45 post_remove()
46 {
47 echo -n "Restoring Busybox gzip and gunzip utilities... "
48 ln -s busybox "$1/bin/gzip"
49 ln -s busybox "$1/bin/gunzip"
50 status
51 }