wok-next annotate mysql-dev/receipt @ rev 1350
added aterm
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Sat Sep 06 15:30:37 2008 +0000 (2008-09-06) |
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 } |