wok-4.x view mysql-dev/receipt @ rev 9471
Automated merge with http://repos.slitaz.org/wok
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Apr 04 01:32:45 2011 +0200 (2011-04-04) |
parents | 95eec20a639c |
children | d1768332cee0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mysql-dev"
4 VERSION="5.1.54"
5 CATEGORY="development"
6 SHORT_DESC="SQL database system devel files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="zlib"
9 WEB_SITE="http://www.mysql.com/"
10 WANTED="mysql"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/lib/mysql/plugin $fs/usr/share
16 cp -a $_pkg/usr/include $fs/usr
17 cp -a $_pkg/usr/share/aclocal $fs/usr/share
18 cp -a $_pkg/usr/lib/mysql/*.*a $fs/usr/lib/mysql
19 cp -a $_pkg/usr/lib/mysql/plugin/*.*a $fs/usr/lib/mysql/plugin
20 while read file; do
21 dir=$(dirname $file)
22 [ -d $fs$dir ] || mkdir -p $fs$dir
23 cp -a $_pkg$file $fs$file
24 done < $WOK/$WANTED/stuff/$PACKAGE.files-list
25 }