wok-6.x view zlib/receipt @ rev 5552
catalyst, eduke32, erlang, fxload: cache extra wget'd files in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 13 22:04:49 2010 +0200 (2010-05-13) |
parents | cdac43c3f44f |
children | e0f477d62f10 |
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://www.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 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/lib
24 cp -a $PACKAGE-$VERSION/libz.so* $fs/usr/lib
25 strip -s $fs/usr/lib/*
26 }