wok-6.x view mariadb-dev/receipt @ rev 13278

Compress modules with xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 19:24:51 2012 +0200 (2012-08-23)
parents d4a8ce10c154
children 62b209782f2d
line source
1 # SliTaz package receipt.
3 PACKAGE="mariadb-dev"
4 VERSION="5.5.24"
5 CATEGORY="development"
6 SHORT_DESC="SQL database system devel files."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="zlib"
9 WEB_SITE="http://mariadb.org/"
10 WANTED="mariadb"
11 PROVIDE="mysql-dev"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/lib/mysql/plugin $fs/usr/share
17 cp -a $_pkg/usr/include $fs/usr
18 cp -a $_pkg/usr/share/aclocal $fs/usr/share
19 cp -a $_pkg/usr/lib/mysql/*.*a $fs/usr/lib/mysql
20 cp -a $_pkg/usr/lib/mysql/plugin/*.*a $fs/usr/lib/mysql/plugin
21 while read file; do
22 dir=$(dirname $file)
23 [ -d $fs$dir ] || mkdir -p $fs$dir
24 cp -a $_pkg$file $fs$file
25 done < $wanted_stuff/$PACKAGE.files-list
26 }