[Erp5-report] r43053 luke - /erp5/trunk/buildout/software-profiles/cuneiform.cfg

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 4 14:53:47 CET 2011


Author: luke
Date: Fri Feb  4 14:53:47 2011
New Revision: 43053

URL: http://svn.erp5.org?rev=43053&view=rev
Log:
 - build by using local cmake and simple command as there is no recipe which supports cmake way of building

Modified:
    erp5/trunk/buildout/software-profiles/cuneiform.cfg

Modified: erp5/trunk/buildout/software-profiles/cuneiform.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/cuneiform.cfg?rev=43053&r1=43052&r2=43053&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/cuneiform.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/cuneiform.cfg [utf8] Fri Feb  4 14:53:47 2011
@@ -1,7 +1,18 @@
 [buildout]
+extends =
+  cmake.cfg
 parts = cuneiform
 
-[cuneiform]
-recipe = hexagonit.recipe.cmmi
+[cuneiform-source]
+recipe = hexagonit.recipe.download
+strip-top-level-dir = true
 url = http://launchpad.net/cuneiform-linux/1.0/1.0/+download/cuneiform-linux-1.0.0.tar.bz2
 md5sum = 785232ffffad7d82446fbac08a1c3ef9
+
+[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}



More information about the Erp5-report mailing list