cuneiform.cfg 803 Bytes
Newer Older
1
[buildout]
2 3
extends =
  cmake.cfg
4 5
parts = cuneiform

6 7 8
[cuneiform-source]
recipe = hexagonit.recipe.download
strip-top-level-dir = true
9 10
url = http://launchpad.net/cuneiform-linux/1.0/1.0/+download/cuneiform-linux-1.0.0.tar.bz2
md5sum = 785232ffffad7d82446fbac08a1c3ef9
11 12 13 14 15 16 17 18

[cuneiform]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
workdir = ${:location}__work__
command = rm -rf ${:workdir} ${:location} && mkdir ${:workdir} ${:location} && cd ${:workdir} && ${cmake:location}/bin/cmake -DCMAKE_INSTALL_RPATH=${:location}/lib64:${:location}/lib -DCMAKE_INSTALL_PREFIX=${:location} -DNO_SYSTEM_ENVIRONMENT_PATH=ON -DCMAKE_BUILD_TYPE=release ${cuneiform-source:location}  && make install && rm -rf ${:workdir}