wok-next diff zlib/receipt @ rev 13

Up : iptables (1.3.8)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 11:52:40 2007 +0100 (2007-12-18)
parents
children cdac43c3f44f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/zlib/receipt	Tue Dec 18 11:52:40 2007 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="zlib"
     1.7 +VERSION="1.2.3"
     1.8 +CATEGORY="base-apps"
     1.9 +SHORT_DESC="Compression library."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://www.zlib.net/"
    1.13 +WGET_URL="http://www.gzip.org/zlib/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +    cd $PACKAGE-$VERSION
    1.19 +    ./configure --shared --prefix=/usr
    1.20 +    make
    1.21 +}
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +    mkdir -p $fs/usr/lib
    1.27 +    cp -a $PACKAGE-$VERSION/libz.so* $fs/usr/lib
    1.28 +    strip -s $fs/usr/lib/*
    1.29 +}