[buildout] extends = ../gdbm/buildout.cfg ../patch/buildout.cfg parts = perl [perl-keep-linker-flags-in-ldflags.patch] recipe = hexagonit.recipe.download url = ${:_profile_base_location_}/${:filename} md5sum = 9873a89c969bd5a478434c3b8b2d57d8 download-only = true filename = ${:_buildout_section_name_} [perl-postmakehook-download] recipe = hexagonit.recipe.download url = ${:_profile_base_location_}/${:filename} md5sum = 7fded8308c1676decf77575c6d6b325f download-only = true filename = create-libs-symlink.py [perl] recipe = slapos.recipe.cmmi depends = ${gdbm:version} version = 5.16.3 # increase revision when we need to rebuild binary libraries. revision = 2 url = http://www.cpan.org/src/5.0/perl-${:version}.tar.bz2 md5sum = 025102de0e4a597cf541e57da80c6aa3 siteprefix = ${buildout:parts-directory}/site_${:_buildout_section_name_} 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=${:siteprefix} \ -Dcflags=-I${gdbm:location}/include \ -Dldflags="-L${gdbm:location}/lib -Wl,-rpath=${gdbm:location}/lib" \ -Ui_db \ -Dnoextensions=ODBM_File \ -Dusethreads environment = PATH=${patch:location}/bin:%(PATH)s post-make-hook = ${perl-postmakehook-download:location}/${perl-postmakehook-download:filename}:post_make_hook