[buildout]
extends =
  ../libexpat/buildout.cfg
  ../perl/buildout.cfg
  ../perl-libwww-perl/buildout.cfg
parts =
  perl-XML-Parser

[perl-XML-Parser]
<= perl-CPAN-package
module = XML/XML-Parser
version = 2.46
md5sum = 80bb18a8e6240fcf7ec2f7b57601c170  

inc = ${perl-libwww-perl:site_perl}
install-inc = blib/lib
extra-configure-args =
    EXPATINCPATH=${libexpat:location}/include \
    EXPATLIBPATH=${libexpat:location}/lib
# Parallel make does not work for this package on fast machines
# with many cores
make-options =
  OTHERLDFLAGS="-Wl,-rpath=${libexpat:location}/lib" -j1
