wok view gzip/receipt @ rev 8054

add gzip
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jan 21 00:34:35 2011 +0100 (2011-01-21)
parents
children 94e1889a6838
line source
1 # SliTaz package receipt.
3 PACKAGE="gzip"
4 VERSION="1.4"
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=$PWD/_pkg 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 $_pkg/usr/bin/gzip $fs/usr/bin
31 cp -a $_pkg/usr/bin/gunzip $fs/usr/bin
32 }