wok annotate zlib-dev/receipt @ rev 1448
libwrap: apply patch once
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 10:34:56 2008 +0000 (2008-10-03) |
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 } |