Fix configure options in qemu.
[slapos.git] / component / couchdb / buildout.cfg
1 [buildout]
2
3 extends =
4   ../openssl/buildout.cfg
5   ../curl/buildout.cfg
6   ../erlang/buildout.cfg
7   ../icu/buildout.cfg
8   ../spidermonkey/buildout.cfg
9
10 parts = couchdb
11
12 [couchdb]
13 recipe = slapos.recipe.cmmi
14 url = http://mir2.ovh.net/ftp.apache.org/dist//couchdb/1.1.1/apache-couchdb-1.1.1.tar.gz
15 md5sum = cd126219b9cb69a4c521abd6960807a6
16 configure-options =
17   --with-erlang=${erlang:location}/lib/erlang/usr/include
18   --with-js-include=${spidermonkey-1.7:location}/include
19   --with-js-lib=${erlang:location}/lib
20   --enable-js-trunk
21 environment-section = couchdb-environ
22
23 [couchdb-environ]
24 PATH = ${erlang:location}/bin:${icu4c:location}/bin:${curl:location}/bin:%(PATH)s
25 # XXX: Gotta put everything on the same line. If not, it won't compile
26 CFLAGS = -I${icu4c:location}/include -I${spidermonkey-1.7:location}/include -I${curl:location}/include
27 LDFLAGS = -L${icu4c:location}/lib -Wl,-rpath=${icu4c:location}/lib -L${spidermonkey-1.7:location}/lib -Wl,-rpath=${spidermonkey-1.7:location}/lib -L${curl:location}/lib -Wl,-rpath=${curl:location}/lib