wok-6.x annotate mysql-test/receipt @ rev 9536

Up: tazpkg (4.6.1) - Bug fix
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 08 18:42:01 2011 +0200 (2011-04-08)
parents 8bcec1b4c9d6
children d1768332cee0
rev   line source
pascal@1140 1 # SliTaz package receipt.
pascal@1140 2
pascal@1140 3 PACKAGE="mysql-test"
slaxemulator@7658 4 VERSION="5.1.54"
pascal@1423 5 CATEGORY="misc"
pascal@1140 6 SHORT_DESC="SQL database system tests and benchs."
pascal@1140 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1140 8 WEB_SITE="http://www.mysql.com/"
pascal@1140 9 WANTED="mysql"
pascal@1140 10 DEPENDS="mysql perl"
pascal@1140 11
pascal@1140 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1140 13 genpkg_rules()
pascal@1140 14 {
pascal@4958 15 mkdir -p $fs/usr/share
pankso@3359 16 cp -a $_pkg/usr/mysql-test $fs/usr
pankso@3359 17 cp -a $_pkg/usr/sql-bench $fs/usr
pascal@1140 18 find $fs/usr/mysql-test $fs/usr/sql-bench -type d -exec chmod 2777 {} \;
pascal@1140 19 while read file; do
pascal@1140 20 dir=$(dirname $file)
pascal@1140 21 [ -d $fs$dir ] || mkdir -p $fs$dir
pascal@1140 22 cp -a $_pkg$file $fs$file
pankso@3359 23 done < $WOK/$WANTED/stuff/$PACKAGE.files-list
pascal@4958 24 mv $fs/usr/mysql-test $fs/usr/share/mysql-test
pascal@4958 25 mv $fs/usr/sql-bench $fs/usr/share/sql-bench
pascal@1140 26 }