wok-current view mysql-test/receipt @ rev 14577
xorg-libX11: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 25 22:07:50 2013 +0200 (2013-05-25) |
parents | d1768332cee0 |
children | 408c87fa22ca |
line source
1 # SliTaz package receipt.
3 PACKAGE="mysql-test"
4 VERSION="5.5.27"
5 CATEGORY="misc"
6 SHORT_DESC="SQL database system tests and benchs."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.mysql.com/"
9 WANTED="mysql"
10 DEPENDS="mysql perl"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share
16 cp -a $install/usr/mysql-test $fs/usr/share/mysql-test
17 cp -a $install/usr/sql-bench $fs/usr/share/sql-bench
18 find $fs/usr/share/mysql-test $fs/usr/share/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 $install$file $fs$file
23 done < $wanted_stuff/$PACKAGE.files-list
24 }