buildout.cfg 1.01 KB
Newer Older
1 2
[buildout]
extends =
Łukasz Nowak's avatar
Łukasz Nowak committed
3 4
  ../gdbm/buildout.cfg
  ../patch/buildout.cfg
5 6 7 8 9
parts =
  perl

[perl-keep-linker-flags-in-ldflags.patch]
recipe = hexagonit.recipe.download
10
url = ${:_profile_base_location_}/${:filename}
11 12 13 14 15 16
md5sum = 9873a89c969bd5a478434c3b8b2d57d8
download-only = true
filename = ${:_buildout_section_name_}

[perl]
recipe = hexagonit.recipe.cmmi
17
version = 5.14.1
18
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.bz2
19
md5sum = 97cd306a2c22929cc141a09568f43bb0
20
siteprefix = ${buildout:parts-directory}/site_${:_buildout_section_name_}
21 22 23 24 25 26
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_} \
27
    -Dsiteprefix=${:siteprefix} \
28
    -Dcflags=-I${gdbm:location}/include \
29
    -Dldflags="-L${gdbm:location}/lib -Wl,-rpath=${gdbm:location}/lib" \
30 31 32 33
    -Ui_db \
    -Dnoextensions=ODBM_File
environment =
  PATH=${patch:location}/bin:%(PATH)s