wok annotate zlib-dev/receipt @ rev 5505
Up: rssyl* (0.27)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat May 08 09:30:06 2010 +0200 (2010-05-08) |
parents | 3e085751bf3a |
children | e0f477d62f10 |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="zlib-dev" |
pankso@5378 | 4 VERSION="1.2.5" |
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 } |