wok-4.x view mysql-test/receipt @ rev 6802
Fixed pcsxr-svn to work with build server.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 19 04:44:56 2010 +0000 (2010-10-19) |
parents | 0d38e6b0c9a7 |
children | 9e2124d309db |
line source
1 # SliTaz package receipt.
3 PACKAGE="mysql-test"
4 VERSION="5.1.51"
5 CATEGORY="misc"
6 SHORT_DESC="SQL database system tests and benchs."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.mysql.com/"
10 WANTED="mysql"
11 DEPENDS="mysql perl"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share
17 cp -a $_pkg/usr/mysql-test $fs/usr
18 cp -a $_pkg/usr/sql-bench $fs/usr
19 find $fs/usr/mysql-test $fs/usr/sql-bench -type d -exec chmod 2777 {} \;
20 while read file; do
21 dir=$(dirname $file)
22 [ -d $fs$dir ] || mkdir -p $fs$dir
23 cp -a $_pkg$file $fs$file
24 done < $WOK/$WANTED/stuff/$PACKAGE.files-list
25 mv $fs/usr/mysql-test $fs/usr/share/mysql-test
26 mv $fs/usr/sql-bench $fs/usr/share/sql-bench
27 }