[buildout]
extends =
  libxml2.cfg
  perl.cfg
  perl-XML-NamespaceSupport.cfg
  perl-XML-SAX.cfg
  zlib.cfg
parts =
  perl-XML-LibXML

[perl-XML-LibXML]
recipe = hexagonit.recipe.cmmi
depends =
  ${perl-XML-NamespaceSupport:location}
  ${perl-XML-SAX:location}
url = http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXML-1.70.tar.gz
configure-command =
  ${perl:location}/bin/perl Makefile.PL DEBUG=1 \
    INC=-I${libxml2:location}/include/libxml2 \
    LIBS="-L${libxml2:location}/lib -L${zlib:location}/lib"
make-options =
  OTHERLDFLAGS=" -Wl,-rpath -Wl,${libxml2:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib"