buildout.cfg 1.22 KB
Newer Older
1 2 3 4 5 6
[buildout]
extends = 
  ../openssl/buildout.cfg
  ../readline/buildout.cfg
  ../zlib/buildout.cfg
  ../ncurses/buildout.cfg
Viktor Horvath's avatar
Viktor Horvath committed
7
  ../perl/buildout.cfg
8
parts = postgresql
9

10
[postgresql]
11 12
<= postgresql92

13
[postgresql-common]
14
recipe = slapos.recipe.cmmi
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
configure-options =
  --without-tcl
  --without-perl
  --without-python
  --without-gssapi
  --without-krb5
  --without-pam
  --without-ldap
  --without-bonjour
  --with-openssl
  --without-selinux
  --with-readline
  --without-ossp-uuid
  --without-libxml
  --without-libxslt
30 31
# build core PostgreSQL + pg_trgm contrib extension for GitLab
make-targets = install && make -C contrib/pg_trgm/ install
32 33
environment =
  CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${openssl:location}/include -I${ncurses:location}/lib
Viktor Horvath's avatar
Viktor Horvath committed
34
  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 -L${perl:location}/libs-c -Wl,-rpath=${perl:location}/libs-c
35 36

[postgresql92]
37
<= postgresql-common
38 39
url = http://ftp.postgresql.org/pub/source/v9.2.17/postgresql-9.2.17.tar.bz2
md5sum = a75d4a82eae1edda04eda2e60656e74c