wok-6.x annotate mysql-test/receipt @ rev 14855
Up: tor-arm (1.4.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 20 12:55:25 2013 +0000 (2013-07-20) |
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 } |