wok annotate zlib/receipt @ rev 10406
zlib: clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue May 24 06:44:24 2011 +0000 (2011-05-24) |
parents | 3f8017e587e1 |
children | 4d01c1ff4f57 |
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 |
slaxemulator@10406 | 12 DEPENDS="glibc-base" |
slaxemulator@10406 | 13 BUILD_DEPENDS="glibc" |
slaxemulator@10406 | 14 |
gokhlayeh@8214 | 15 # Rules to compile & install the temporary toolchain. |
gokhlayeh@8214 | 16 cook_tmp_toolchain() |
gokhlayeh@8214 | 17 { |
gokhlayeh@8214 | 18 cd $src |
gokhlayeh@8214 | 19 ./configure --prefix=/tools && |
slaxemulator@10406 | 20 make && make install |
gokhlayeh@8214 | 21 } |
gokhlayeh@8214 | 22 |
pankso@8 | 23 # Rules to configure and make the package. |
pankso@8 | 24 compile_rules() |
pankso@8 | 25 { |
gokhlayeh@8214 | 26 cd $src |
gokhlayeh@8214 | 27 ./configure --prefix=/usr --shared && |
slaxemulator@10406 | 28 make && make install |
pankso@8 | 29 } |
pankso@8 | 30 |
pankso@8 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 32 genpkg_rules() |
pankso@8 | 33 { |
pankso@8 | 34 mkdir -p $fs/usr/lib |
rcx@5998 | 35 cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib |
pankso@8 | 36 } |