wok-current annotate mariadb-test/receipt @ rev 13054
Add: mariadb
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jun 20 15:35:34 2012 +0200 (2012-06-20) |
parents | |
children | 62b209782f2d |
rev | line source |
---|---|
erjo@13054 | 1 # SliTaz package receipt. |
erjo@13054 | 2 |
erjo@13054 | 3 PACKAGE="mariadb-test" |
erjo@13054 | 4 VERSION="5.5.24" |
erjo@13054 | 5 CATEGORY="misc" |
erjo@13054 | 6 SHORT_DESC="SQL database system tests and benchs." |
erjo@13054 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@13054 | 8 WEB_SITE="http://www.mysql.com/" |
erjo@13054 | 9 WANTED="mariadb" |
erjo@13054 | 10 DEPENDS="mariadb perl" |
erjo@13054 | 11 |
erjo@13054 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@13054 | 13 genpkg_rules() |
erjo@13054 | 14 { |
erjo@13054 | 15 mkdir -p $fs/usr/share |
erjo@13054 | 16 cp -a $_pkg/usr/mysql-test $fs/usr |
erjo@13054 | 17 cp -a $_pkg/usr/sql-bench $fs/usr |
erjo@13054 | 18 find $fs/usr/mysql-test $fs/usr/sql-bench -type d -exec chmod 2777 {} \; |
erjo@13054 | 19 while read file; do |
erjo@13054 | 20 dir=$(dirname $file) |
erjo@13054 | 21 [ -d $fs$dir ] || mkdir -p $fs$dir |
erjo@13054 | 22 cp -a $_pkg$file $fs$file |
erjo@13054 | 23 done < $wanted_stuff/$PACKAGE.files-list |
erjo@13054 | 24 mv $fs/usr/mysql-test $fs/usr/share/mysql-test |
erjo@13054 | 25 mv $fs/usr/sql-bench $fs/usr/share/sql-bench |
erjo@13054 | 26 } |