wok-stable annotate mysql-dev/receipt @ rev 2720
Up: snownews (1.5.11)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Apr 23 19:21:07 2009 +0000 (2009-04-23) |
parents | 91e8a40cf500 |
children | 4aa363a445f7 |
rev | line source |
---|---|
pascal@1140 | 1 # SliTaz package receipt. |
pascal@1140 | 2 |
pascal@1140 | 3 PACKAGE="mysql-dev" |
pascal@1140 | 4 VERSION="5.0.51b" |
pascal@1140 | 5 CATEGORY="development" |
pascal@1140 | 6 SHORT_DESC="SQL database system devel files." |
pascal@1140 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2611 | 8 DEPENDS="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 { |
pascal@1140 | 15 mkdir -p $fs/usr/lib |
pascal@1140 | 16 cp -a $_pkg/usr/include $fs/usr |
pascal@1140 | 17 cp -a $_pkg/usr/lib/mysql/*a $fs/usr/lib |
pascal@1140 | 18 while read file; do |
pascal@1140 | 19 dir=$(dirname $file) |
pascal@1140 | 20 [ -d $fs$dir ] || mkdir -p $fs$dir |
pascal@1140 | 21 cp -a $_pkg$file $fs$file |
pascal@1140 | 22 done < $src/$PACKAGE.files-list |
pascal@1140 | 23 } |