wok view zlib/receipt @ rev 10412

zlib: Tazwok must work differentyl all pkgs dep on glibc!
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 24 13:08:16 2011 +0200 (2011-05-24)
parents 686e6877305b
children 63d859d2a162
line source
1 # SliTaz package receipt.
3 PACKAGE="zlib"
4 VERSION="1.2.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Compression library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://zlib.net/"
10 WGET_URL="$WEB_SITE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --shared &&
17 make && make install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/lib
24 cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib
25 }
27 # Rules to compile & install the temporary toolchain by Tazwok.
28 cook_tmp_toolchain()
29 {
30 cd $src
31 ./configure --prefix=/tools &&
32 make && make install
33 }