wok annotate zlib-dev/receipt @ rev 11
Add : bzip2, slitaz-tools, sqlite-dev, zlib-dev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Dec 14 21:19:50 2007 +0100 (2007-12-14) |
parents | |
children | ea7228b3f479 |
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@11 | 5 CATEGORY="devel" |
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 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@11 | 10 WEB_SITE="http://www.zlib.net/" |
pankso@11 | 11 WGET_URL="http://www.clex.sk/download/$TARBALL" |
pankso@11 | 12 |
pankso@11 | 13 # Rules to configure and make the package. |
pankso@11 | 14 compile_rules() |
pankso@11 | 15 { |
pankso@11 | 16 cd $src |
pankso@11 | 17 ./configure --prefix=/usr |
pankso@11 | 18 make |
pankso@11 | 19 } |
pankso@11 | 20 |
pankso@11 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11 | 22 genpkg_rules() |
pankso@11 | 23 { |
pankso@11 | 24 mkdir -p $fs/usr/lib |
pankso@11 | 25 mkdir -p $fs/usr/include |
pankso@11 | 26 cp -a $src/libz.a $fs/usr/lib |
pankso@11 | 27 cp $src/zconf.h $fs/usr/include |
pankso@11 | 28 cp $src/zlib.h $fs/usr/include |
pankso@11 | 29 } |