perl.cfg 1008 Bytes
Newer Older
1
[buildout]
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
2 3
extends =
  gdbm.cfg
4
  patch.cfg
5 6 7
parts =
  perl

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
8 9 10 11 12 13 14
[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_}

15 16 17 18 19
[perl]
recipe = hexagonit.recipe.cmmi
version = 5.12.3
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.gz
md5sum = 29975a69dce54e47fcd6331c085c6c99
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
20 21 22
patch-options = -p1
patches =
  ${perl-keep-linker-flags-in-ldflags.patch:location}/${perl-keep-linker-flags-in-ldflags.patch:filename}
23 24 25
configure-command =
  sh Configure -des \
    -Dprefix=${buildout:parts-directory}/${:_buildout_section_name_} \
26
    -Dsiteprefix=${buildout:parts-directory}/site_${:_buildout_section_name_} \
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
27 28 29
    -Dcflags=-I${gdbm:location}/include \
    -Dldflags="-L${gdbm:location}/lib -Wl,-rpath -Wl,${gdbm:location}/lib" \
    -Ui_db \
30
    -Dnoextensions=ODBM_File
31 32
environment =
  PATH=${patch:location}/bin:%(PATH)s