wok-4.x annotate zlib/receipt @ rev 4443

Up: libwebkit (1.1.16)
author Mallory Mollo <mallory@sweetpeople.org>
date Tue Nov 03 23:27:20 2009 +0100 (2009-11-03)
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 }