wok-6.x annotate mariadb-test/receipt @ rev 19722
Up cgal (4.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 13:20:58 2017 +0100 (2017-02-16) |
parents | 2b545d56eedc |
children | a78610b2eb47 |
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" |
erjo@13054 | 9 WEB_SITE="http://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 } |