wok-next view gzip/receipt @ rev 20930

pyaudio -> python-pyaudio
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 23 07:07:52 2018 +0300 (2018-08-23)
parents 90a5eb560fd6
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gzip"
4 VERSION="1.9"
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/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/gzip.html"
11 HOST_ARCH="i486 x86_64"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
16 BUILD_DEPENDS="glibc-dev"
17 SPLIT="gzip-full"
19 compile_rules() {
20 ./configure $CONFIGURE_ARGS &&
21 make &&
22 make install || return 1
24 mkdir -p $install/bin
25 mv -v $install/usr/bin/gzip $install/bin
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 gzip)
31 copy gzip gunzip zgrep
32 TAGS="LFS"
33 ;;
34 gzip-full)
35 copy bin/ @rm
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 for i in gzip gunzip; do
46 readlink "$1/bin/$i" | grep -q busybox && rm "$1/bin/$i"
47 done
48 :
49 }
51 # Removing Busybox uncompress and zcat applets
52 # as we have /usr/bin/uncompress and /usr/bin/zcat in this package
53 pre_install_gzip_full() {
54 for i in uncompress zcat; do
55 readlink "$1/bin/$i" | grep -q busybox && rm "$1/bin/$i"
56 done
57 :
58 }