wok-6.x annotate mysql-client/receipt @ rev 7823
Add virtual package mysql_or_postgresql
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 26 11:36:56 2010 +0100 (2010-12-26) |
parents | 3702eaf342dd |
children | d1768332cee0 |
rev | line source |
---|---|
pascal@1140 | 1 # SliTaz package receipt. |
pascal@1140 | 2 |
pascal@1140 | 3 PACKAGE="mysql-client" |
slaxemulator@7658 | 4 VERSION="5.1.54" |
pankso@4171 | 5 CATEGORY="office" |
pascal@1140 | 6 SHORT_DESC="SQL database system client files." |
pascal@1140 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1140 | 8 WEB_SITE="http://www.mysql.com/" |
pascal@1140 | 9 WANTED="mysql" |
pascal@5004 | 10 DEPENDS="libmysqlclient zlib ncurses gcc-lib-base ncursesw" |
pascal@7823 | 11 PROVIDE="mysql_or_postgresql" |
pascal@1140 | 12 |
pascal@1140 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1140 | 14 genpkg_rules() |
pascal@1140 | 15 { |
pascal@1140 | 16 while read file; do |
pascal@1140 | 17 dir=$(dirname $file) |
pascal@1140 | 18 [ -d $fs$dir ] || mkdir -p $fs$dir |
pascal@1140 | 19 cp -a $_pkg$file $fs$file |
pankso@3359 | 20 done < $WOK/$WANTED/stuff/$PACKAGE.files-list |
pascal@1140 | 21 } |