rebuild tesseract if libpng or webp so version has changed.
[slapos.git] / component / perl-XML-Parser / buildout.cfg
1 [buildout]
2 extends =
3   ../libexpat/buildout.cfg
4   ../libxml2/buildout.cfg
5   ../perl/buildout.cfg
6   ../perl-libwww-perl/buildout.cfg
7   ../zlib/buildout.cfg
8 parts =
9   perl-XML-Parser
10
11 [perl-XML-Parser]
12 recipe = slapos.recipe.cmmi
13 depends =
14   ${perl:version}
15   ${perl-libwww-perl:location}
16 url = http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-2.36.tar.gz
17 md5sum = 1b868962b658bd87e1563ecd56498ded
18 configure-command =
19   ${perl:location}/bin/perl Makefile.PL \
20     EXPATINCPATH=${libexpat:location}/include \
21     EXPATLIBPATH=${libexpat:location}/lib \
22     INC="-I${libxml2:location}/include/libxml2" \
23     LIBS="-L${libxml2:location}/lib -L${zlib:location}/lib"
24 # Parallel make does not work for this package on fast machines
25 # with many cores
26 make-options =
27   OTHERLDFLAGS=" -Wl,-rpath=${libxml2:location}/lib -Wl,-rpath=${zlib:location}/lib" -j1
28 environment =
29   LD_LIBRARY_PATH=${libxml2:location}/lib:${zlib:location}/lib
30   PERLLIB=blib/lib