wok annotate zlib/receipt @ rev 8

Add : gcc-lib-base, rp-pppoe, rsync, zlib
author Christophe Lincoln <pankso@slitaz.org>
date Thu Dec 13 15:21:06 2007 +0100 (2007-12-13)
parents
children cdac43c3f44f
rev   line source
pankso@8 1 # SliTaz package receipt.
pankso@8 2
pankso@8 3 PACKAGE="zlib"
pankso@8 4 VERSION="1.2.3"
pankso@8 5 CATEGORY="base-apps"
pankso@8 6 SHORT_DESC="Compression library."
pankso@8 7 MAINTAINER="pankso@slitaz.org"
pankso@8 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@8 9 WEB_SITE="http://www.zlib.net/"
pankso@8 10 WGET_URL="http://www.gzip.org/zlib/$TARBALL"
pankso@8 11
pankso@8 12 # Rules to configure and make the package.
pankso@8 13 compile_rules()
pankso@8 14 {
pankso@8 15 cd $PACKAGE-$VERSION
pankso@8 16 ./configure --shared --prefix=/usr
pankso@8 17 make
pankso@8 18 }
pankso@8 19
pankso@8 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@8 21 genpkg_rules()
pankso@8 22 {
pankso@8 23 mkdir -p $fs/usr/lib
pankso@8 24 cp -a $PACKAGE-$VERSION/libz.so* $fs/usr/lib
pankso@8 25 strip -s $fs/usr/lib/*
pankso@8 26 }