wok view mysql-dev/receipt @ rev 17393
opus: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 16:05:28 2014 +0100 (2014-11-27) |
parents | 96e4513829cd |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mysql-dev"
4 VERSION="5.5.27"
5 CATEGORY="development"
6 SHORT_DESC="SQL database system devel files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.mysql.com/"
10 WANTED="mysql"
12 DEPENDS="libmysqlclient zlib"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib/mysql/plugin $fs/usr/share
18 cp -a $install/usr/include $fs/usr
19 while read file; do
20 dir=$(dirname $file)
21 [ -d $fs$dir ] || mkdir -p $fs$dir
22 cp -a $install$file $fs$file
23 done < $wanted_stuff/$PACKAGE.files-list
24 }