wok-next annotate gzip/receipt @ rev 19589

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