wok annotate mysql-test/receipt @ rev 22102
Add python-attr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 01 15:22:59 2019 +0100 (2019-11-01) |
parents | 408c87fa22ca |
children |
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@20669 | 9 WEB_SITE="https://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 } |