wok annotate mysql-dev/receipt @ rev 2461

orpheus: typo in compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 14 15:08:25 2009 +0000 (2009-03-14)
parents
children 8032bcdd3044
rev   line source
pascal@1140 1 # SliTaz package receipt.
pascal@1140 2
pascal@1140 3 PACKAGE="mysql-dev"
pascal@1140 4 VERSION="5.0.51b"
pascal@1140 5 CATEGORY="development"
pascal@1140 6 SHORT_DESC="SQL database system devel files."
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
pascal@1140 11 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1140 12 genpkg_rules()
pascal@1140 13 {
pascal@1140 14 mkdir -p $fs/usr/lib
pascal@1140 15 cp -a $_pkg/usr/include $fs/usr
pascal@1140 16 cp -a $_pkg/usr/lib/mysql/*a $fs/usr/lib
pascal@1140 17 while read file; do
pascal@1140 18 dir=$(dirname $file)
pascal@1140 19 [ -d $fs$dir ] || mkdir -p $fs$dir
pascal@1140 20 cp -a $_pkg$file $fs$file
pascal@1140 21 done < $src/$PACKAGE.files-list
pascal@1140 22 }