wok-next annotate zlib/receipt @ rev 4208

Fix: tazbb clean_up build wok
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 09:51:12 2009 +0200 (2009-09-24)
parents 580279b0298b
children 79fc515af377
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@178 5 CATEGORY="base-system"
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 }