buildout.cfg 1.08 KB
Newer Older
1 2
[buildout]
extends =
3
  ../mysql-tritonn-5.0/buildout.cfg
4
  ../mariadb/buildout.cfg
5

6 7 8
parts =
  perl-DBD-MySQL

9
[perl-DBD-MySQL-common]
10
recipe = slapos.recipe.cmmi
11 12 13
depends =
  ${perl:version}
  ${perl-DBI:version}
14
url = http://www.cpan.org/modules/by-module/DBD/DBD-mysql-4.027.tar.gz
15
md5sum = 11fa6449715ba9d3fa5f4ee5ae688d6f
16
patches =
17
  ${:_profile_base_location_}/DBD-mysql-4.027.rpathsupport.patch#a932982b7725e6621cfce3a3d7917e03
18
patch-options = -p1
19 20 21

[perl-DBD-MySQL]
<= perl-DBD-MySQL-common
22
configure-command =
23
  ${perl:location}/bin/perl Makefile.PL --mysql_config=${mysql-tritonn-5.0:location}/bin/mysql_config
24
environment =
25
  OTHERLDFLAGS=-Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${mysql-tritonn-5.0:location}/lib/mysql -Wl,-rpath=${openssl:location}/lib
26 27 28 29 30 31 32

[perl-DBD-mariadb]
<= perl-DBD-MySQL-common
configure-command =
  ${perl:location}/bin/perl Makefile.PL --mysql_config=${mariadb:location}/bin/mysql_config
environment =
  OTHERLDFLAGS=-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${mariadb:location}/lib -Wl,-rpath=${openssl:location}/lib