wok view zlib/receipt @ rev 6483
Added perl to glib-dev depends since its need for glib-mkenums to work.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 30 04:11:49 2010 +0000 (2010-09-30) |
parents | 79fc515af377 |
children | 3f8017e587e1 |
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 $PACKAGE-$VERSION
16 ./configure --shared --prefix=/usr &&
17 make &&
18 make DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib
25 cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib
26 }