wok-next annotate postgresql-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 8fcd5126133f
children a5f9cf2f6e4e
rev   line source
pascal@1149 1 # SliTaz package receipt.
pascal@1149 2
pascal@1149 3 PACKAGE="postgresql-client"
slaxemulator@7659 4 VERSION="9.0.2"
pascal@1423 5 CATEGORY="misc"
pascal@1149 6 SHORT_DESC="SQL database system client files."
pascal@1149 7 MAINTAINER="pascal.bellard@slitaz.org"
slaxemulator@6570 8 WEB_SITE="http://www.postgresql.org/"
pascal@1149 9 DEPENDS="libpostgresqlclient zlib ncurses readline"
pascal@1149 10 WANTED="postgresql"
pascal@7823 11 PROVIDE="mysql_or_postgresql"
pascal@1149 12
pascal@1149 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1149 14 genpkg_rules()
pascal@1149 15 {
pascal@1149 16 while read file; do
pascal@1149 17 dir=$(dirname $file)
pascal@1149 18 [ -d $fs$dir ] || mkdir -p $fs$dir
pascal@1149 19 cp -a $_pkg$file $fs$file
pascal@1149 20 done < $src/$PACKAGE.files-list
pascal@1149 21 }
pascal@1149 22