wok-next annotate mysql-dev/receipt @ rev 14297
Up: embryo-dev (1.7.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 07 10:08:46 2013 +0200 (2013-04-07) |
parents | d1768332cee0 |
children | 408c87fa22ca |
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" |
slaxemulator@13187 | 8 DEPENDS="libmysqlclient zlib" |
pascal@1140 | 9 WEB_SITE="http://www.mysql.com/" |
pascal@1140 | 10 WANTED="mysql" |
pascal@1140 | 11 |
pascal@1140 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1140 | 13 genpkg_rules() |
pascal@1140 | 14 { |
slaxemulator@7560 | 15 mkdir -p $fs/usr/lib/mysql/plugin $fs/usr/share |
slaxemulator@13187 | 16 cp -a $install/usr/include $fs/usr |
pascal@1140 | 17 while read file; do |
pascal@1140 | 18 dir=$(dirname $file) |
pascal@1140 | 19 [ -d $fs$dir ] || mkdir -p $fs$dir |
slaxemulator@13187 | 20 cp -a $install$file $fs$file |
slaxemulator@9700 | 21 done < $wanted_stuff/$PACKAGE.files-list |
pascal@1140 | 22 } |