[Erp5-report] r44771 luke - /erp5/trunk/buildout/software-profiles/pdftk.cfg

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 30 10:22:10 CEST 2011


Author: luke
Date: Wed Mar 30 10:22:10 2011
New Revision: 44771

URL: http://svn.erp5.org?rev=44771&view=rev
Log:
 - compile against locally provided zlib

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

Modified: erp5/trunk/buildout/software-profiles/pdftk.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/pdftk.cfg?rev=44771&r1=44770&r2=44771&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/pdftk.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/pdftk.cfg [utf8] Wed Mar 30 10:22:10 2011
@@ -3,7 +3,10 @@
 # in how gcj is functional on many operating systems.
 # Because of this the only way to have portable pdftk profile it is required
 # to provide working gcj and then have it used for pdftk compilation.
-extends = gcc.cfg
+extends =
+  gcc.cfg
+  zlib.cfg
+
 parts = pdftk
 
 [pdftk-patch-download]
@@ -27,6 +30,9 @@ download-only = true
 recipe = hexagonit.recipe.cmmi
 url = http://sourceforge.net/projects/fastjar/files/fastjar/0.94/fastjar-0.94.tar.gz/download
 md5sum = 14d4bdfac236e347d806c6743dba48c6
+environment =
+  CPPFLAGS=-I${zlib:location}/include
+  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib
 
 [pdftk]
 recipe = hexagonit.recipe.cmmi



More information about the Erp5-report mailing list