wok-6.x annotate mariadb-dev/receipt @ rev 15001
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 17:48:05 2013 +0000 (2013-08-10) |
parents | 62b209782f2d |
children | 2b545d56eedc |
rev | line source |
---|---|
erjo@13054 | 1 # SliTaz package receipt. |
erjo@13054 | 2 |
erjo@13054 | 3 PACKAGE="mariadb-dev" |
erjo@14808 | 4 VERSION="5.5.30" |
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 } |