perl.cfg 1008 Bytes
[buildout]
extends =
  gdbm.cfg
  patch.cfg
parts =
  perl

[perl-keep-linker-flags-in-ldflags.patch]
recipe = hexagonit.recipe.download
url = http://www.nexedi.org/static/patches/${:_buildout_section_name_}
md5sum = 9873a89c969bd5a478434c3b8b2d57d8
download-only = true
filename = ${:_buildout_section_name_}

[perl]
recipe = hexagonit.recipe.cmmi
version = 5.12.3
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.gz
md5sum = 29975a69dce54e47fcd6331c085c6c99
patch-options = -p1
patches =
  ${perl-keep-linker-flags-in-ldflags.patch:location}/${perl-keep-linker-flags-in-ldflags.patch:filename}
configure-command =
  sh Configure -des \
    -Dprefix=${buildout:parts-directory}/${:_buildout_section_name_} \
    -Dsiteprefix=${buildout:parts-directory}/site_${:_buildout_section_name_} \
    -Dcflags=-I${gdbm:location}/include \
    -Dldflags="-L${gdbm:location}/lib -Wl,-rpath -Wl,${gdbm:location}/lib" \
    -Ui_db \
    -Dnoextensions=ODBM_File
environment =
  PATH=${patch:location}/bin:%(PATH)s