wok annotate mysql-dev/receipt @ rev 16742
Up slitaz-boot-scripts (5.6.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 10 10:35:54 2014 +0200 (2014-06-10) |
parents | 96e4513829cd |
children | a78610b2eb47 |
rev | line source |
---|---|
pascal@1140 | 1 # SliTaz package receipt. |
pascal@1140 | 2 |
pascal@1140 | 3 PACKAGE="mysql-dev" |
slaxemulator@13187 | 4 VERSION="5.5.27" |
pascal@1140 | 5 CATEGORY="development" |
pascal@1140 | 6 SHORT_DESC="SQL database system devel files." |
pascal@1140 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
pascal@1140 | 9 WEB_SITE="http://www.mysql.com/" |
pascal@1140 | 10 WANTED="mysql" |
pascal@1140 | 11 |
pascal@15001 | 12 DEPENDS="libmysqlclient zlib" |
pascal@15001 | 13 |
pascal@1140 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1140 | 15 genpkg_rules() |
pascal@1140 | 16 { |
slaxemulator@7560 | 17 mkdir -p $fs/usr/lib/mysql/plugin $fs/usr/share |
slaxemulator@13187 | 18 cp -a $install/usr/include $fs/usr |
pascal@1140 | 19 while read file; do |
pascal@1140 | 20 dir=$(dirname $file) |
pascal@1140 | 21 [ -d $fs$dir ] || mkdir -p $fs$dir |
slaxemulator@13187 | 22 cp -a $install$file $fs$file |
slaxemulator@9700 | 23 done < $wanted_stuff/$PACKAGE.files-list |
pascal@1140 | 24 } |