Commit aa29a7b3 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

try to detect TARGET and ARCH values for more optimisation.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40252 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 904b2c55
...@@ -6,9 +6,10 @@ recipe = hexagonit.recipe.cmmi ...@@ -6,9 +6,10 @@ recipe = hexagonit.recipe.cmmi
url = http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.9.tar.gz url = http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.9.tar.gz
md5sum = 2cbcc95b54c0d803edaa13e7b4aeec25 md5sum = 2cbcc95b54c0d803edaa13e7b4aeec25
configure-command = true configure-command = true
# XXX-Luke: autodetection shall be provided by erp5.recipe.softwarebuild # If the system is running on Linux 2.6, we use "linux26" as the TARGET,
# with possible overriding customisation # otherwise use "generic".
# linux26 might be better target, but on this level portability is a must # For ARCH value, x86_64 and i[3456]86 are supported.
make-options = make-options =
TARGET=generic TARGET="$(uname -sr 2>/dev/null|grep -q '^Linux 2\.6' && echo linux26 || echo generic)"
ARCH="$(uname -m 2>/dev/null|grep -qE '^(x86_64|i[3456]86)$' && uname -m)"
PREFIX=${buildout:parts-directory}/haproxy PREFIX=${buildout:parts-directory}/haproxy
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment