buildout.cfg 3.13 KB
Newer Older
Guillaume Bottex's avatar
Guillaume Bottex committed
1 2 3 4
[buildout]
extends =
  ../curl/buildout.cfg
  ../libevent/buildout.cfg
5
  ../erlang/buildout.cfg
Guillaume Bottex's avatar
Guillaume Bottex committed
6 7 8 9 10 11 12 13 14 15 16 17

parts =
  membase-source
  membase-memcached
  membase-libmemcached
  membase-libconflate
  membase-libvbucket
  membase-moxi
  membase-bucket_engine
  membase-ep-engine
  membase-membase-cli
  membase-memcachetest
18
  membase-ns_server
Guillaume Bottex's avatar
Guillaume Bottex committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
  membase-vbucketmigrator

[membase]
location = ${buildout:parts-directory}/${:_buildout_section_name_}

[membase-source]
<= membase-1.7.0-source

[membase-1.7.0-source]
<= membase-source-common
url = http://files.couchbase.com/source/membase-server_src-1.7.0.tar.gz
md5sum = c933fffea299d00e43b002cb65738663

[membase-source-common]
recipe = hexagonit.recipe.download
34
ignore-existing = true
Guillaume Bottex's avatar
Guillaume Bottex committed
35 36 37
strip-top-level-dir = true

[membase-component-common]
38
recipe = slapos.recipe.cmmi
Guillaume Bottex's avatar
Guillaume Bottex committed
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
path = ${membase-source:location}/${:component}
prefix = ${membase:location}
configure-options =
  --prefix=${:prefix}
  ${:component-configure-options}

[membase-libmemcached]
<= membase-component-common
component = libmemcached
component-configure-options =
  --disable-static
  --enable-shared
  --disable-dtrace
  --without-docs
  --disable-sasl
  --with-memcached=${membase:location}/bin/memcached

[membase-memcached]
<= membase-component-common
component = memcached
patches =
configure-command =
  ./configure
component-configure-options =
  --enable-isasl

[membase-libconflate]
<= membase-component-common
component = libconflate
component-configure-options =
  --disable-static
  --enable-shared
  --without-check
  --with-libcurl-prefix=${curl:location}

[membase-libvbucket]
<= membase-component-common
component = libvbucket
component-configure-options =
  --disable-static
  --enable-shared
  --without-docs
  --with-libhashkit-prefix=${membase:location}

[membase-moxi]
<= membase-component-common
component = moxi
component-configure-options =
  --enable-moxi-libvbucket
  --enable-moxi-libmemcached
  --without-check
  --with-libevent-prefix=${libevent:location}
  --with-libmemcached-prefix=${membase:location}
  --with-memcached=${membase:location}/bin/memcached
  --with-libhashkit-prefix=${membase:location}
  --with-libconflate-prefix=${membase:location}
  --with-libvbucket-prefix=${membase:location}

[membase-bucket_engine]
<= membase-component-common
component = bucket_engine
component-configure-options =
  --with-memcached=${membase-source:location}/memcached

[membase-ep-engine]
<= membase-component-common
component = ep-engine
component-configure-options =
  --with-memcached=${membase-source:location}/memcached

[membase-membase-cli]
<= membase-component-common
component = membase-cli
patches =
configure-command =
  ./configure
component-configure-options =

[membase-memcachetest]
<= membase-component-common
component = memcachetest
component-configure-options =
  --with-memcached=${membase:location}/bin/memcached

[membase-ns_server]
<= membase-component-common
component = ns_server
patches =
configure-command =
  ./configure
component-configure-options =
Guillaume Bottex's avatar
Typo  
Guillaume Bottex committed
130
environment =
131
  PATH=${erlang:location}/bin:%(PATH)s
Guillaume Bottex's avatar
Guillaume Bottex committed
132 133 134 135 136 137 138

[membase-vbucketmigrator]
<= membase-component-common
component = vbucketmigrator
component-configure-options =
  --without-sasl
  --with-isasl