wok-6.x view zlib/receipt @ rev 10149

Up: coreutils to 8.12. Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 19:22:27 2011 +0000 (2011-05-20)
parents e0f477d62f10
children b039a3d7274c
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 DEPENDS="glibc-base"
9 BUILD_DEPENDS="glibc"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://zlib.net/"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # Rules to compile & install the temporary toolchain.
15 cook_tmp_toolchain()
16 {
17 cd $src
18 ./configure --prefix=/tools &&
19 make
20 make install
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure --prefix=/usr --shared &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib
37 }