wok-6.x diff mariadb-test/receipt @ rev 13655
Up: slitaz-configs(5.1.2)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Nov 19 14:32:48 2012 +0000 (2012-11-19) |
parents | |
children | 62b209782f2d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mariadb-test/receipt Mon Nov 19 14:32:48 2012 +0000 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mariadb-test" 1.7 +VERSION="5.5.24" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="SQL database system tests and benchs." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +WEB_SITE="http://www.mysql.com/" 1.12 +WANTED="mariadb" 1.13 +DEPENDS="mariadb perl" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/share 1.19 + cp -a $_pkg/usr/mysql-test $fs/usr 1.20 + cp -a $_pkg/usr/sql-bench $fs/usr 1.21 + find $fs/usr/mysql-test $fs/usr/sql-bench -type d -exec chmod 2777 {} \; 1.22 + while read file; do 1.23 + dir=$(dirname $file) 1.24 + [ -d $fs$dir ] || mkdir -p $fs$dir 1.25 + cp -a $_pkg$file $fs$file 1.26 + done < $wanted_stuff/$PACKAGE.files-list 1.27 + mv $fs/usr/mysql-test $fs/usr/share/mysql-test 1.28 + mv $fs/usr/sql-bench $fs/usr/share/sql-bench 1.29 +}