wok-next annotate zlib-dev/receipt @ rev 1996
Up: leafpad (0.8.16)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 08 19:16:56 2009 +0100 (2009-01-08) |
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 } |