wok view zlib-dev/receipt @ rev 5012

rm rpm in for loop to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:50:05 2010 +0000 (2010-02-28)
parents ea7228b3f479
children e5cff60e665d
line source
1 # SliTaz package receipt.
3 PACKAGE="zlib-dev"
4 VERSION="1.2.3"
5 CATEGORY="development"
6 SHORT_DESC="Zlib compression library devel files."
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="zlib"
9 WEB_SITE="http://www.zlib.net/"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 cd $src
15 ./configure --prefix=/usr
16 make
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/lib
23 mkdir -p $fs/usr/include
24 cp -a $src/libz.a $fs/usr/lib
25 cp $src/zconf.h $fs/usr/include
26 cp $src/zlib.h $fs/usr/include
27 }