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