wok-stable view libpostgresqlclient/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents b8382cadf2ea
children 5b21efe08bd3
line source
1 # SliTaz package receipt.
3 PACKAGE="libpostgresqlclient"
4 VERSION="9.0.4"
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 }