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