wok-next view gzip/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents 9e01bc6321ea
children 9a17d981d0f7
line source
1 # SliTaz package receipt.
3 PACKAGE="gzip"
4 VERSION="1.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU compression utilities (gzip and gunzip)"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/gzip/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="glibc-dev"
16 SPLIT="gzip-full"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cook_copy_files gzip gunzip zgrep
28 }
30 pre_install()
31 {
32 # Removing Busybox gzip and gunzip applets
33 # as we have /usr/bin/gzip and /usr/bin/gunzip in this package
34 rm -f "$1/bin/gzip" "$1/bin/gunzip"
35 }
37 post_remove()
38 {
39 ln -s busybox "$1/bin/gzip"
40 ln -s busybox "$1/bin/gunzip"
41 }