wok-6.x view zlib-dev/receipt @ rev 3293

Jinja2: fix genpkg_rules
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jun 04 00:40:12 2009 +0000 (2009-06-04)
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 }