wok annotate mysql-test/receipt @ rev 14980
Up: thunderbird-langpack-fr (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:21:06 2013 +0200 (2013-08-08) |
parents | d1768332cee0 |
children | 408c87fa22ca |
rev | line source |
---|---|
pascal@1140 | 1 # SliTaz package receipt. |
pascal@1140 | 2 |
pascal@1140 | 3 PACKAGE="mysql-test" |
slaxemulator@13187 | 4 VERSION="5.5.27" |
pascal@1423 | 5 CATEGORY="misc" |
pascal@1140 | 6 SHORT_DESC="SQL database system tests and benchs." |
pascal@1140 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1140 | 8 WEB_SITE="http://www.mysql.com/" |
pascal@1140 | 9 WANTED="mysql" |
pascal@1140 | 10 DEPENDS="mysql perl" |
pascal@1140 | 11 |
pascal@1140 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1140 | 13 genpkg_rules() |
pascal@1140 | 14 { |
pascal@4958 | 15 mkdir -p $fs/usr/share |
slaxemulator@13187 | 16 cp -a $install/usr/mysql-test $fs/usr/share/mysql-test |
slaxemulator@13187 | 17 cp -a $install/usr/sql-bench $fs/usr/share/sql-bench |
slaxemulator@13187 | 18 find $fs/usr/share/mysql-test $fs/usr/share/sql-bench -type d -exec chmod 2777 {} \; |
pascal@1140 | 19 while read file; do |
pascal@1140 | 20 dir=$(dirname $file) |
pascal@1140 | 21 [ -d $fs$dir ] || mkdir -p $fs$dir |
slaxemulator@13187 | 22 cp -a $install$file $fs$file |
slaxemulator@9700 | 23 done < $wanted_stuff/$PACKAGE.files-list |
pascal@1140 | 24 } |