wok annotate 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
rev   line source
erjo@8054 1 # SliTaz package receipt.
erjo@8054 2
erjo@8054 3 PACKAGE="gzip"
erjo@8054 4 VERSION="1.4"
erjo@8054 5 CATEGORY="system-tools"
erjo@8054 6 SHORT_DESC="Data compression program"
erjo@8054 7 MAINTAINER="erjo@slitaz.org"
erjo@8054 8 DEPENDS="glibc-base"
erjo@8054 9 BUILD_DEPENDS="glibc-dev"
erjo@8054 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@8054 11 WEB_SITE="http://www.gnu.org/software/gzip/"
erjo@8054 12 WGET_URL="http://ftp.gnu.org/gnu/gzip/$TARBALL"
erjo@8054 13
erjo@8054 14 # Rules to configure and make the package.
erjo@8054 15 compile_rules()
erjo@8054 16 {
erjo@8054 17 cd $src
erjo@8054 18 ./configure \
erjo@8054 19 --prefix=/usr \
erjo@8054 20 --infodir=/usr/share/info \
erjo@8054 21 --mandir=/usr/share/man \
erjo@8054 22 $CONFIGURE_ARGS &&
erjo@8054 23 make && make DESTDIR=$PWD/_pkg install
erjo@8054 24 }
erjo@8054 25
erjo@8054 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8054 27 genpkg_rules()
erjo@8054 28 {
erjo@8054 29 mkdir -p $fs/usr/bin
erjo@8054 30 cp -a $_pkg/usr/bin/gzip $fs/usr/bin
erjo@8054 31 cp -a $_pkg/usr/bin/gunzip $fs/usr/bin
erjo@8054 32 }
erjo@8054 33