wok annotate mariadb-test/receipt @ rev 22589
updated cgdb (0.6.5 -> 0.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 07 15:47:23 2020 +0100 (2020-01-07) |
parents | 92e8a75bdf91 |
children |
rev | line source |
---|---|
erjo@13054 | 1 # SliTaz package receipt. |
erjo@13054 | 2 |
erjo@13054 | 3 PACKAGE="mariadb-test" |
erjo@16731 | 4 VERSION="10.0.11" |
erjo@13054 | 5 CATEGORY="misc" |
erjo@13054 | 6 SHORT_DESC="SQL database system tests and benchs." |
erjo@13054 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
pascal@20669 | 9 WEB_SITE="https://www.mysql.com/" |
erjo@13054 | 10 WANTED="mariadb" |
pascal@15001 | 11 |
pascal@16735 | 12 DEPENDS="mariadb perl libssl" |
erjo@13054 | 13 |
erjo@13054 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@13054 | 15 genpkg_rules() |
erjo@13054 | 16 { |
erjo@13054 | 17 mkdir -p $fs/usr/share |
pascal@15001 | 18 cp -a $install/usr/mysql-test $fs/usr |
pascal@15001 | 19 cp -a $install/usr/sql-bench $fs/usr |
erjo@13054 | 20 find $fs/usr/mysql-test $fs/usr/sql-bench -type d -exec chmod 2777 {} \; |
erjo@13054 | 21 while read file; do |
erjo@13054 | 22 dir=$(dirname $file) |
erjo@13054 | 23 [ -d $fs$dir ] || mkdir -p $fs$dir |
pascal@15001 | 24 cp -a $install$file $fs$file |
erjo@13054 | 25 done < $wanted_stuff/$PACKAGE.files-list |
erjo@13054 | 26 mv $fs/usr/mysql-test $fs/usr/share/mysql-test |
erjo@13054 | 27 mv $fs/usr/sql-bench $fs/usr/share/sql-bench |
erjo@13054 | 28 } |