wok-6.x view mariadb-test/receipt @ rev 14034
gst-plugins-bad-dev, gst-plugins-base-dev, gst-plugins-good-dev, gst-plugins-ugly-dev, schroedinger-dev: avoid one shot build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 14:54:08 2013 +0100 (2013-02-18) |
parents | |
children | 62b209782f2d |
line source
1 # SliTaz package receipt.
3 PACKAGE="mariadb-test"
4 VERSION="5.5.24"
5 CATEGORY="misc"
6 SHORT_DESC="SQL database system tests and benchs."
7 MAINTAINER="erjo@slitaz.org"
8 WEB_SITE="http://www.mysql.com/"
9 WANTED="mariadb"
10 DEPENDS="mariadb perl"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share
16 cp -a $_pkg/usr/mysql-test $fs/usr
17 cp -a $_pkg/usr/sql-bench $fs/usr
18 find $fs/usr/mysql-test $fs/usr/sql-bench -type d -exec chmod 2777 {} \;
19 while read file; do
20 dir=$(dirname $file)
21 [ -d $fs$dir ] || mkdir -p $fs$dir
22 cp -a $_pkg$file $fs$file
23 done < $wanted_stuff/$PACKAGE.files-list
24 mv $fs/usr/mysql-test $fs/usr/share/mysql-test
25 mv $fs/usr/sql-bench $fs/usr/share/sql-bench
26 }