wok-next view gzip/receipt @ rev 20329

Up hiredis, iniparser
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 14 11:32:29 2017 +0200 (2017-11-14)
parents 708211fae5b6
children 90a5eb560fd6
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gzip"
4 VERSION="1.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU compression utilities"
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 BUILD_DEPENDS="glibc-dev"
15 SPLIT="gzip-full"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS && make && make install
22 mkdir -p $install/bin
23 mv -v $install/usr/bin/gzip $install/bin
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 gzip)
31 copy gzip gunzip zgrep
32 ;;
33 gzip-full)
34 copy bin/
35 remove_already_packed
36 CAT="system-tools|full set"
37 DEPENDS="gzip"
38 ;;
39 esac
40 }
42 # Removing Busybox gunzip applet
43 # as we have /usr/bin/gunzip in this package
44 pre_install_gzip()
45 {
46 rm -f "$1/bin/gzip" "$1/bin/gunzip"
47 }
49 # Removing Busybox uncompress and zcat applets
50 # as we have /usr/bin/uncompress and /usr/bin/zcat in this package
51 pre_install_gzip_full()
52 {
53 rm -f "$1/bin/uncompress" "$1/bin/zcat"
54 }