wok-next annotate mysql-dev/receipt @ rev 16860
Up atk (2.7.5)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sun Jul 13 03:44:48 2014 -0300 (2014-07-13) |
parents | 96e4513829cd |
children | 4048d48a47c1 |
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 } |