wok annotate mariadb-test/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
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 }