wok-6.x diff zlib/receipt @ rev 123

Set BUILD_DEPENDS for gnome-icon-theme
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 05 23:54:27 2008 +0100 (2008-01-05)
parents
children cdac43c3f44f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/zlib/receipt	Sat Jan 05 23:54:27 2008 +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 +}