[buildout]
extends = 
  ../openssl/buildout.cfg
  ../readline/buildout.cfg
  ../zlib/buildout.cfg
  ../ncurses/buildout.cfg
parts = postgresql
 
[postgresql]
recipe = hexagonit.recipe.cmmi
url = http://ftp.postgresql.org/pub/source/v9.1.3/postgresql-9.1.3.tar.bz2
md5sum = 641e1915f7ebfdc9f138e4c55b6aec0e
configure-options = --with-openssl
environment =
  CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${openssl:location}/include -I${ncurses:location}/lib
  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib