wok-6.x annotate mysql-test/receipt @ rev 10252

Add safecopy.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 03:53:34 2011 +0000 (2011-05-21)
parents 3702eaf342dd
children 96e4513829cd
rev   line source
pascal@1140 1 # SliTaz package receipt.
pascal@1140 2
pascal@1140 3 PACKAGE="mysql-test"
slaxemulator@7658 4 VERSION="5.1.54"
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@1140 8 WEB_SITE="http://www.mysql.com/"
pascal@1140 9 WANTED="mysql"
pascal@1140 10 DEPENDS="mysql perl"
pascal@1140 11
pascal@1140 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1140 13 genpkg_rules()
pascal@1140 14 {
pascal@4958 15 mkdir -p $fs/usr/share
pankso@3359 16 cp -a $_pkg/usr/mysql-test $fs/usr
pankso@3359 17 cp -a $_pkg/usr/sql-bench $fs/usr
pascal@1140 18 find $fs/usr/mysql-test $fs/usr/sql-bench -type d -exec chmod 2777 {} \;
pascal@1140 19 while read file; do
pascal@1140 20 dir=$(dirname $file)
pascal@1140 21 [ -d $fs$dir ] || mkdir -p $fs$dir
pascal@1140 22 cp -a $_pkg$file $fs$file
slaxemulator@9700 23 done < $wanted_stuff/$PACKAGE.files-list
pascal@4958 24 mv $fs/usr/mysql-test $fs/usr/share/mysql-test
pascal@4958 25 mv $fs/usr/sql-bench $fs/usr/share/sql-bench
pascal@1140 26 }