wok-next annotate mysql-test/receipt @ rev 10385
dbus-python: fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 18:18:01 2011 +0200 (2011-05-23) |
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 } |