version up : perl 5.20.1.
[slapos.git] / component / perl / buildout.cfg
1 [buildout]
2 extends =
3   ../gdbm/buildout.cfg
4   ../patch/buildout.cfg
5 parts =
6   perl
7
8 [perl]
9 recipe = slapos.recipe.cmmi
10 version = 5.20.1
11 url = http://www.cpan.org/src/5.0/perl-${:version}.tar.bz2
12 md5sum = ede5166f949d9a07163bc5b086be9759
13 siteprefix = ${buildout:parts-directory}/site_${:_buildout_section_name_}
14 patch-options = -p1
15 patches =
16   ${:_profile_base_location_}/perl-keep-linker-flags-in-ldflags.patch#4e8e0c59d7176eafb0c7402dea17bef1
17 configure-command =
18   sh Configure -des \
19     -Dprefix=${buildout:parts-directory}/${:_buildout_section_name_} \
20     -Dsiteprefix=${:siteprefix} \
21     -Dcflags=-I${gdbm:location}/include \
22     -Dldflags="-L${gdbm:location}/lib -Wl,-rpath=${gdbm:location}/lib" \
23     -Ui_db \
24     -Dnoextensions=ODBM_File \
25     -Dusethreads
26 environment =
27   PATH=${patch:location}/bin:%(PATH)s
28 post-make-hook = ${:_profile_base_location_}/perl-create-libs-symlink.py#539cb3cd0d1090f7f30a8e5a82b37854:post_make_hook