wok-current annotate postgresql-dev/receipt @ rev 5011
use mv instead of cp -a to save RAM (thanks Eric)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Feb 28 19:46:30 2010 +0000 (2010-02-28) |
parents | fb5581e5c6e8 |
children | 8fd90285da5e |
rev | line source |
---|---|
pascal@1149 | 1 # SliTaz package receipt. |
pascal@1149 | 2 |
pascal@1149 | 3 PACKAGE="postgresql-dev" |
erjo@4641 | 4 VERSION="8.3.9" |
pascal@1423 | 5 CATEGORY="development" |
pascal@1149 | 6 SHORT_DESC="SQL database system development files" |
pascal@1149 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@5005 | 8 DEPENDS="readline ncurses" |
pascal@1149 | 9 WEB_SITE="http://www.pgsql.com/" |
pascal@1149 | 10 WANTED="postgresql" |
pascal@1149 | 11 |
pascal@1149 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1149 | 13 genpkg_rules() |
pascal@1149 | 14 { |
erjo@4641 | 15 mkdir -p $fs/usr/lib/postgresql $fs/usr/bin |
pascal@1149 | 16 cp -a $_pkg/usr/include $fs/usr |
erjo@4641 | 17 cp -a $_pkg/usr/bin/pg_config $fs/usr/bin |
pascal@1149 | 18 cp -a $_pkg/usr/lib/postgresql/*a $fs/usr/lib/postgresql |
pascal@2775 | 19 strip --strip-debug $fs/usr/lib/postgresql/*.a |
pascal@1149 | 20 } |
pascal@1149 | 21 |