wok view libpostgresqlclient/receipt @ rev 9734

libpostgresqlclient: read file list from WANTED stuff
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 21:09:19 2011 +0200 (2011-05-09)
parents 551255803abf
children 7c5937702175
line source
1 # SliTaz package receipt.
3 PACKAGE="libpostgresqlclient"
4 VERSION="9.0.3"
5 CATEGORY="misc"
6 SHORT_DESC="SQL database system libraries."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.postgresql.org/"
9 WANTED="postgresql"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 while read file; do
15 dir=$(dirname $file)
16 [ -d $fs$dir ] || mkdir -p $fs$dir
17 cp -a $_pkg$file $fs$file
18 done < $WOK/$WANTED/stuff/$PACKAGE.files-list
19 ln -s /usr/lib/postgresql/libpq.so.5 $fs/usr/lib/libpq.so.5
20 }