wok-next diff mysql-test/receipt @ rev 1140
Add mysql
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 24 13:32:43 2008 +0000 (2008-07-24) |
parents | |
children | 03a799424aaa |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mysql-test/receipt Thu Jul 24 13:32:43 2008 +0000 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mysql-test" 1.7 +VERSION="5.0.51b" 1.8 +CATEGORY="system" 1.9 +SHORT_DESC="SQL database system tests and benchs." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.mysql.com/" 1.13 +WANTED="mysql" 1.14 +DEPENDS="mysql perl" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/ 1.20 + cp -a $_pkg/usr/mysql-test $fs/usr/ 1.21 + cp -a $_pkg/usr/sql-bench $fs/usr/ 1.22 + find $fs/usr/mysql-test $fs/usr/sql-bench -type d -exec chmod 2777 {} \; 1.23 + while read file; do 1.24 + dir=$(dirname $file) 1.25 + [ -d $fs$dir ] || mkdir -p $fs$dir 1.26 + cp -a $_pkg$file $fs$file 1.27 + done < $src/$PACKAGE.files-list 1.28 +}