Commit faaea919 authored by Viktor Horvath's avatar Viktor Horvath

Add Benchmark::Timer as a "simple" CPAN module for Mioga;

add Crypt::SSLeay as a complex module with its own buildout.cfg,
including paths to OpenSSL and libz.
Needs to use CPAN configuration, only compatible with slapos.recipe.build
revision ae7dda8 or later.
parent a6df0ebf
......@@ -24,7 +24,7 @@ modules =
I/IS/ISAAC/libapreq2-2.13.tar.gz
perl = perl
cpan-configuration =
makepl_arg = --with-apache2-apxs=${apache-2.2:location}/bin/apxs
makepl_arg = ('--with-apache2-apxs=${apache-2.2:location}/bin/apxs')
environment =
APR_LDFLAGS = -L${libuuid:location}/lib -Wl,-R${libuuid:location}/lib -L${libexpat:location}/lib -Wl,-R${libexpat:location}/lib -L${apache-2.2:location}/lib -Wl,-R${apache-2.2:location}/lib
LDFLAGS=-L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib -L${libexpat:location}/lib -Wl,-rpath=${libexpat:location}/lib -L${apache-2.2:location}/lib -Wl,-rpath=${apache-2.2:location}/lib
[buildout]
extends =
../perl/buildout.cfg
../../component/openssl/buildout.cfg
../../component/zlib/buildout.cfg
parts =
perl-Crypt-SSLeay
[perl-Crypt-SSLeay]
recipe = slapos.recipe.build:cpan
modules =
G/GA/GAAS/URI-1.60.tar.gz
N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz
cpan-configuration =
make_arg=('OTHERLDFLAGS="-L${zlib:location}/lib -Wl,-R${zlib:location}/lib -L${openssl:location}/lib -Wl,-R${openssl:location}/lib"')
makepl_arg=('INC=-I${openssl:location}/include')
environment =
OPENSSL_PREFIX=${openssl:location}
perl = perl
......@@ -6,11 +6,12 @@ develop =
# ../../component/postgresql/buildout.cfg
extends =
../../component/apache-perl/buildout.cfg
../../component/lxml-python/buildout.cfg
../../component/perl-Crypt-SSLeay/buildout.cfg
../../component/lxml-python/buildout.cfg
../../stack/slapos.cfg
# parts = eggs postgresql apache-perl template perl-Apache2-Request
parts = eggs cpan-simple-modules apache-perl template perl-Apache2-Request
parts = eggs cpan-simple-modules apache-perl template perl-Apache2-Request perl-Crypt-SSLeay
[eggs]
recipe = zc.recipe.egg
......@@ -36,6 +37,7 @@ mode = 0644
recipe = slapos.recipe.build:cpan
modules =
S/ST/STBEY/Date-Calc-6.3.tar.gz
D/DC/DCOPPIT/Benchmark-Timer-0.7102.tar.gz
perl = perl
[networkcache]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment