wok-6.x view mariadb-test/receipt @ rev 17449

Up dropbear (2014.66)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 16 18:51:42 2014 +0100 (2014-12-16)
parents 2b545d56eedc
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="mariadb-test"
4 VERSION="10.0.11"
5 CATEGORY="misc"
6 SHORT_DESC="SQL database system tests and benchs."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.mysql.com/"
10 WANTED="mariadb"
12 DEPENDS="mariadb perl libssl"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/share
18 cp -a $install/usr/mysql-test $fs/usr
19 cp -a $install/usr/sql-bench $fs/usr
20 find $fs/usr/mysql-test $fs/usr/sql-bench -type d -exec chmod 2777 {} \;
21 while read file; do
22 dir=$(dirname $file)
23 [ -d $fs$dir ] || mkdir -p $fs$dir
24 cp -a $install$file $fs$file
25 done < $wanted_stuff/$PACKAGE.files-list
26 mv $fs/usr/mysql-test $fs/usr/share/mysql-test
27 mv $fs/usr/sql-bench $fs/usr/share/sql-bench
28 }