wok-6.x view mysql-dev/receipt @ rev 2951
ecore: fix compile_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 08 16:12:51 2009 +0200 (2009-05-08) |
parents | 8032bcdd3044 |
children | 81ee74ea8ff4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mysql-dev"
4 VERSION="5.0.77"
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
16 cp -a $_pkg/usr/include $fs/usr
17 cp -a $_pkg/usr/lib/mysql/*a $fs/usr/lib
18 while read file; do
19 dir=$(dirname $file)
20 [ -d $fs$dir ] || mkdir -p $fs$dir
21 cp -a $_pkg$file $fs$file
22 done < $src/$PACKAGE.files-list
23 }