wok-current annotate zlib/receipt @ rev 7247
Up privoxy (3.0.17)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Nov 14 14:17:18 2010 +0000 (2010-11-14) |
parents | 79fc515af377 |
children | 3f8017e587e1 |
rev | line source |
---|---|
pankso@8 | 1 # SliTaz package receipt. |
pankso@8 | 2 |
pankso@8 | 3 PACKAGE="zlib" |
slaxemulator@5350 | 4 VERSION="1.2.5" |
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" |
rcx@5998 | 9 WEB_SITE="http://zlib.net/" |
slaxemulator@5350 | 10 WGET_URL="$WEB_SITE/$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 |
rcx@5998 | 16 ./configure --shared --prefix=/usr && |
rcx@5998 | 17 make && |
rcx@5998 | 18 make DESTDIR=$PWD/_pkg install |
pankso@8 | 19 } |
pankso@8 | 20 |
pankso@8 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 22 genpkg_rules() |
pankso@8 | 23 { |
pankso@8 | 24 mkdir -p $fs/usr/lib |
rcx@5998 | 25 cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib |
pankso@8 | 26 } |