buildout.cfg 591 Bytes
Newer Older
1 2 3 4 5
[buildout]
parts = haproxy

[haproxy]
recipe = hexagonit.recipe.cmmi
Priscila Manhaes's avatar
Priscila Manhaes committed
6 7
url = http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.18.tar.gz
md5sum = 4ac88bb1a76c4b84ed4f6131183bedbe
8 9 10 11 12 13 14 15
configure-command = true
# If the system is running on Linux 2.6, we use "linux26" as the TARGET,
# otherwise use "generic".
# For ARCH value, x86_64 and i[3456]86 are supported.
make-options =
  TARGET="$(uname -sr 2>/dev/null|grep -q '^Linux 2\.6' && echo linux26 || echo generic)"
  ARCH="$(uname -m 2>/dev/null|grep -E '^(x86_64|i[3456]86)$')"
  PREFIX=${buildout:parts-directory}/${:_buildout_section_name_}