wok-4.x view zlib-dev/receipt @ rev 199

All *-dev pkgs goes in category development
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 13 00:20:49 2008 +0100 (2008-02-13)
parents ea7228b3f479
children e5cff60e665d
line source
1 # SliTaz package receipt.
3 PACKAGE="zlib-dev"
4 VERSION="1.2.3"
5 CATEGORY="development"
6 SHORT_DESC="Zlib compression library devel files."
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="zlib"
9 WEB_SITE="http://www.zlib.net/"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 cd $src
15 ./configure --prefix=/usr
16 make
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/lib
23 mkdir -p $fs/usr/include
24 cp -a $src/libz.a $fs/usr/lib
25 cp $src/zconf.h $fs/usr/include
26 cp $src/zlib.h $fs/usr/include
27 }