wok view mysql-client/receipt @ rev 5012

rm rpm in for loop to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:50:05 2010 +0000 (2010-02-28)
parents 63cc70f33130
children 0d38e6b0c9a7
line source
1 # SliTaz package receipt.
3 PACKAGE="mysql-client"
4 VERSION="5.1.38"
5 CATEGORY="office"
6 SHORT_DESC="SQL database system client files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.mysql.com/"
10 WANTED="mysql"
11 DEPENDS="libmysqlclient zlib ncurses gcc-lib-base ncursesw"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 while read file; do
17 dir=$(dirname $file)
18 [ -d $fs$dir ] || mkdir -p $fs$dir
19 cp -a $_pkg$file $fs$file
20 done < $WOK/$WANTED/stuff/$PACKAGE.files-list
21 }