wok-next annotate mysql-dev/receipt @ rev 19605
Up/recook: cpio, libssh2, gpm, mc.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 28 16:18:25 2017 +0200 (2017-01-28) |
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 } |