wok view mariadb-dev/receipt @ rev 15121
ruby-enterprise: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 22:08:42 2013 +0000 (2013-08-14) |
parents | 62b209782f2d |
children | 2b545d56eedc |
line source
1 # SliTaz package receipt.
3 PACKAGE="mariadb-dev"
4 VERSION="5.5.30"
5 CATEGORY="development"
6 SHORT_DESC="SQL database system devel files."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://mariadb.org/"
10 WANTED="mariadb"
11 PROVIDE="mysql-dev"
13 DEPENDS="zlib"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/lib/mysql/plugin $fs/usr/share
19 cp -a $install/usr/include $fs/usr
20 cp -a $install/usr/share/aclocal $fs/usr/share
21 cp -a $install/usr/lib/mysql/*.*a $fs/usr/lib/mysql
22 #~ cp -a $install/usr/lib/mysql/plugin/*.*a $fs/usr/lib/mysql/plugin
23 while read file; do
24 dir=$(dirname $file)
25 [ -d $fs$dir ] || mkdir -p $fs$dir
26 cp -a $install$file $fs$file
27 done < $wanted_stuff/$PACKAGE.files-list
28 }