wok annotate mysql-test/receipt @ rev 15903
Up fail2ban (0.8.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 14 12:28:03 2014 +0000 (2014-02-14) |
parents | 96e4513829cd |
children | a78610b2eb47 |
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@15001 | 8 LICENSE="GPL2" |
pascal@1140 | 9 WEB_SITE="http://www.mysql.com/" |
pascal@1140 | 10 WANTED="mysql" |
pascal@15001 | 11 |
pascal@1140 | 12 DEPENDS="mysql perl" |
pascal@1140 | 13 |
pascal@1140 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1140 | 15 genpkg_rules() |
pascal@1140 | 16 { |
pascal@4958 | 17 mkdir -p $fs/usr/share |
slaxemulator@13187 | 18 cp -a $install/usr/mysql-test $fs/usr/share/mysql-test |
slaxemulator@13187 | 19 cp -a $install/usr/sql-bench $fs/usr/share/sql-bench |
slaxemulator@13187 | 20 find $fs/usr/share/mysql-test $fs/usr/share/sql-bench -type d -exec chmod 2777 {} \; |
pascal@1140 | 21 while read file; do |
pascal@1140 | 22 dir=$(dirname $file) |
pascal@1140 | 23 [ -d $fs$dir ] || mkdir -p $fs$dir |
slaxemulator@13187 | 24 cp -a $install$file $fs$file |
slaxemulator@9700 | 25 done < $wanted_stuff/$PACKAGE.files-list |
pascal@1140 | 26 } |