wok-stable view libpostgresqlclient/receipt @ rev 8728
Fixed linux not to put a tmp folder in WOK. Instead its WOK/PACKAGE/tmp now. This fixes a problem with update-repository dying out cause of WOK/tmp folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 19 01:35:37 2011 +0000 (2011-02-19) |
parents | a5f9cf2f6e4e |
children | 02bbaa9d12ba |
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 strip -s $fs/usr/lib/postgresql/*.so*
20 ln -s /usr/lib/postgresql/libpq.so.5 $fs/usr/lib/libpq.so.5
21 }