wok annotate 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 |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="zlib-dev" |
pankso@11 | 4 VERSION="1.2.3" |
pankso@199 | 5 CATEGORY="development" |
pankso@11 | 6 SHORT_DESC="Zlib compression library devel files." |
pankso@11 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@11 | 8 WANTED="zlib" |
pankso@11 | 9 WEB_SITE="http://www.zlib.net/" |
pankso@11 | 10 |
pankso@11 | 11 # Rules to configure and make the package. |
pankso@11 | 12 compile_rules() |
pankso@11 | 13 { |
pankso@11 | 14 cd $src |
pankso@11 | 15 ./configure --prefix=/usr |
pankso@11 | 16 make |
pankso@11 | 17 } |
pankso@11 | 18 |
pankso@11 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11 | 20 genpkg_rules() |
pankso@11 | 21 { |
pankso@11 | 22 mkdir -p $fs/usr/lib |
pankso@11 | 23 mkdir -p $fs/usr/include |
pankso@11 | 24 cp -a $src/libz.a $fs/usr/lib |
pankso@11 | 25 cp $src/zconf.h $fs/usr/include |
pankso@11 | 26 cp $src/zlib.h $fs/usr/include |
pankso@11 | 27 } |