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

linux .config (some changes similar to 2.6.29.3); add a modules check to receipt
author Rohit Joshi <jozee@slitaz.org>
date Mon Nov 09 14:00:35 2009 +0000 (2009-11-09)
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 }