wok-4.x view zlib/receipt @ rev 10616

ncmpc: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 18:19:53 2011 +0200 (2011-05-26)
parents d1ad1340c827
children f1aa32b03abe
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 DEPENDS="glibc-base"
13 BUILD_DEPENDS="gcc"
15 # Rules to compile & install the temporary toolchain by Tazwok.
16 cook_tmp_toolchain()
17 {
18 cd $src
19 ./configure --prefix=/tools &&
20 make && 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 && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib
36 }