wok view gzip/receipt @ rev 14225

freetype*: up 2.4.11; fontconfig*: up 2.10.91; add freetype-infinality* and fontconfig-infinality; gobject-introspection: up 1.32.1; gtk+3*: up 3.4.4; add gtk3-engine-solidity, gtk3-engine-unico; pixman*: up 0.28.2; add libxklavier, lightdm*; slitaz-i18n: add all existing translations.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 21 16:18:40 2013 +0000 (2013-03-21)
parents 6222200efb6f
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="gzip"
4 VERSION="1.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data compression program"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="glibc-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/gzip/"
12 WGET_URL="http://ftp.gnu.org/gnu/gzip/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $install/usr/bin/gzip $fs/usr/bin
31 cp -a $install/usr/bin/gunzip $fs/usr/bin
32 }
34 # Pre and post install commands for Tazpkg.
35 # We must remove all Busybox symlink before installing.
36 #
37 pre_install()
38 {
39 local root
40 root=$1
41 echo "Processing pre-install commands..."
42 echo -n "Removing all Busybox replaced utils... "
43 rm -f $root/bin/gzip
44 rm -f $root/bin/gunzip
45 status
46 }
48 post_remove()
49 {
50 ln -s $1/bin/busybox $1/bin/gzip
51 ln -s $1/bin/busybox $1/bin/gunzip
52 }