Commit 5853a54b authored by Jérome Perrin's avatar Jérome Perrin

component/perl-*: switch to new perl infrastructure

parent a5bec95c
...@@ -7,17 +7,10 @@ parts = ...@@ -7,17 +7,10 @@ parts =
percona-toolkit percona-toolkit
[percona-toolkit] [percona-toolkit]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
# XXX it's not on CPAN, so we use url
version = 3.0.3 version = 3.0.3
url = https://www.percona.com/downloads/percona-toolkit/${:version}/source/tarball/percona-toolkit-${:version}.tar.gz url = https://www.percona.com/downloads/percona-toolkit/${:version}/source/tarball/percona-toolkit-${:version}.tar.gz
md5sum = 8af181994fdf9aa984475637861098e9 md5sum = 8af181994fdf9aa984475637861098e9
depends =
${perl-DBI:location} inc = ${perl-DBI:site_perl}:${perl-DBD-mariadb:site_perl}
${perl-DBD-mariadb:location}
pre-configure =
sed -i -e 's,^#!/usr/bin/env perl,#!perl,' bin/*
configure-command =
${perl:location}/bin/perl Makefile.PL
location = ${buildout:parts-directory}/${:_buildout_section_name_}
make-options =
INSTALLSITESCRIPT=${:location}/bin
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-CGI perl-CGI
[perl-CGI] [perl-CGI]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/CGI/CGI-4.36.tar.gz module = CGI/CGI
version = 4.36
md5sum = 48566d81f430a7f755bb4d8f426ce35d md5sum = 48566d81f430a7f755bb4d8f426ce35d
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-Class-Accessor perl-Class-Accessor
[perl-Class-Accessor] [perl-Class-Accessor]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/Class/Class-Accessor-0.34.tar.gz module = Class/Class-Accessor
version = 0.34
md5sum = 0d9640d237a13276145f7e44b4855b89 md5sum = 0d9640d237a13276145f7e44b4855b89
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-Config-General perl-Config-General
[perl-Config-General] [perl-Config-General]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/Config/Config-General-2.56.tar.gz module = Config/Config-General
version = 2.56
md5sum = 8cf9dd044d016f27b4dc26077606736d md5sum = 8cf9dd044d016f27b4dc26077606736d
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -9,18 +9,16 @@ parts = ...@@ -9,18 +9,16 @@ parts =
perl-DBD-MySQL perl-DBD-MySQL
[perl-DBD-MySQL-common] [perl-DBD-MySQL-common]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = DBD/DBD-mysql
${perl-DBI:location} version = 4.043
${perl-Devel-CheckLib:location}
url = http://www.cpan.org/modules/by-module/DBD/DBD-mysql-4.043.tar.gz
md5sum = 4a00dd7f1c057931147c65dfc4901c36 md5sum = 4a00dd7f1c057931147c65dfc4901c36
inc = ${perl-DBI:site_perl}:${perl-Devel-CheckLib:site_perl}
patches = patches =
${:_profile_base_location_}/DBD-mysql-4.027.rpathsupport.patch#a932982b7725e6621cfce3a3d7917e03 ${:_profile_base_location_}/DBD-mysql-4.027.rpathsupport.patch#a932982b7725e6621cfce3a3d7917e03
${:_profile_base_location_}/DBD-mysql-4.042.mariadb.patch#5864d36d19c4a05034b3a4873f7c659a ${:_profile_base_location_}/DBD-mysql-4.042.mariadb.patch#5864d36d19c4a05034b3a4873f7c659a
patch-options = -p1 patch-options = -p1
configure-command = extra-configure-args=--libs "-L${zlib:location}/lib -L${openssl:location}/lib $(mysql_config --libs)"
${perl:location}/bin/perl Makefile.PL --libs="-L${zlib:location}/lib -L${openssl:location}/lib $(mysql_config --libs)"
[perl-DBD-MySQL] [perl-DBD-MySQL]
<= perl-DBD-MySQL-common <= perl-DBD-MySQL-common
......
...@@ -5,11 +5,9 @@ parts = ...@@ -5,11 +5,9 @@ parts =
perl-DBI perl-DBI
[perl-DBI] [perl-DBI]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/DBI/DBI-1.631.tar.gz module = DBI/DBI
md5sum = 444d3c305e86597e11092b517794a840 version = 1.641
configure-command = md5sum = e77fd37fcf77fc88fde029c1b75ded54
${perl:location}/bin/perl Makefile.PL
location = ${buildout:parts-directory}/${:_buildout_section_name_}
make-options = make-options =
INSTALLSITESCRIPT=${:location}/bin INSTALLSITESCRIPT=${:location}/bin
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-Data-Dump perl-Data-Dump
[perl-Data-Dump] [perl-Data-Dump]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/Data/Data-Dump-1.22.tar.gz module = Data/Data-Dump
version = 1.22
md5sum = db211fe64a5cab15b1e86e5b0dc379a4 md5sum = db211fe64a5cab15b1e86e5b0dc379a4
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -3,8 +3,7 @@ extends = ...@@ -3,8 +3,7 @@ extends =
../perl/buildout.cfg ../perl/buildout.cfg
[perl-Devel-CheckLib] [perl-Devel-CheckLib]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/Devel/Devel-CheckLib-1.11.tar.gz module = Devel/Devel-CheckLib
version = 1.11
md5sum = c20873798591176283f51af4ad8088cd md5sum = c20873798591176283f51af4ad8088cd
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -6,11 +6,12 @@ parts = ...@@ -6,11 +6,12 @@ parts =
perl-Encode-HanExtra perl-Encode-HanExtra
[perl-Encode-HanExtra] [perl-Encode-HanExtra]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/Encode/Encode-HanExtra-0.23.tar.gz module = Encode/Encode-HanExtra
version = 0.23
md5sum = e1d3bc32c1c8ee304235a06fbcd5d5a4 md5sum = e1d3bc32c1c8ee304235a06fbcd5d5a4
configure-command =
${perl:location}/bin/perl -I. Makefile.PL install-inc = .
patch-options = -p1 patch-options = -p1
patches = patches =
${:_profile_base_location_}/Encode-HanExtra-0.23_use_shebang.patch#4ac804013a68a3e6b7c3bc4115d25a5e ${:_profile_base_location_}/Encode-HanExtra-0.23_use_shebang.patch#4ac804013a68a3e6b7c3bc4115d25a5e
......
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-Encode-Locale perl-Encode-Locale
[perl-Encode-Locale] [perl-Encode-Locale]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/Encode/Encode-Locale-1.03.tar.gz module = Encode/Encode-Locale
version= 1.03
md5sum = de8422d068634e7c1068dab4e18b452f md5sum = de8422d068634e7c1068dab4e18b452f
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -6,10 +6,9 @@ parts = ...@@ -6,10 +6,9 @@ parts =
perl-File-Listing perl-File-Listing
[perl-File-Listing] [perl-File-Listing]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = File/File-Listing
${perl-HTTP-Date:location} version = 6.04
url = http://www.cpan.org/modules/by-module/File/File-Listing-6.04.tar.gz
md5sum = 83f636b477741f3a014585bb9cc079a6 md5sum = 83f636b477741f3a014585bb9cc079a6
configure-command =
${perl:location}/bin/perl Makefile.PL inc = ${perl-HTTP-Date:site_perl}
...@@ -6,10 +6,9 @@ parts = ...@@ -6,10 +6,9 @@ parts =
perl-HTML-Encoding perl-HTML-Encoding
[perl-HTML-Encoding] [perl-HTML-Encoding]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = HTML/HTML-Encoding
${perl-HTTP-Message:location} version = 0.61
url = http://www.cpan.org/modules/by-module/HTML/HTML-Encoding-0.61.tar.gz
md5sum = bce9f00f04ad055feaa4d6511b30e421 md5sum = bce9f00f04ad055feaa4d6511b30e421
configure-command =
${perl:location}/bin/perl Makefile.PL inc = ${perl-HTTP-Message:location}
...@@ -6,10 +6,9 @@ parts = ...@@ -6,10 +6,9 @@ parts =
perl-HTML-Parser perl-HTML-Parser
[perl-HTML-Parser] [perl-HTML-Parser]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = HTML/HTML-Parser
${perl-HTML-Tagset:location} version = 3.71
url = http://www.cpan.org/modules/by-module/HTML/HTML-Parser-3.71.tar.gz
md5sum = 9128a45893097dfa3bf03301b19c5efe md5sum = 9128a45893097dfa3bf03301b19c5efe
configure-command =
${perl:location}/bin/perl Makefile.PL inc = ${perl-HTML-Tagset:site_perl}
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-HTML-Tagset perl-HTML-Tagset
[perl-HTML-Tagset] [perl-HTML-Tagset]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/HTML/HTML-Tagset-3.20.tar.gz module = HTML/HTML-Tagset
version = 3.20
md5sum = d2bfa18fe1904df7f683e96611e87437 md5sum = d2bfa18fe1904df7f683e96611e87437
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-HTML-Template perl-HTML-Template
[perl-HTML-Template] [perl-HTML-Template]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/HTML/HTML-Template-2.95.tar.gz module = HTML/HTML-Template
version = 2.95
md5sum = 6f08e9631af52e6a5f6e4648b89265fe md5sum = 6f08e9631af52e6a5f6e4648b89265fe
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -6,10 +6,9 @@ parts = ...@@ -6,10 +6,9 @@ parts =
perl-HTTP-Cookies perl-HTTP-Cookies
[perl-HTTP-Cookies] [perl-HTTP-Cookies]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = HTTP/HTTP-Cookies
${perl-HTTP-Message:location} version = 6.01
url = http://www.cpan.org/modules/by-module/HTTP/HTTP-Cookies-6.01.tar.gz
md5sum = ecfd0eeb88512033352c2f13c9580f03 md5sum = ecfd0eeb88512033352c2f13c9580f03
configure-command =
${perl:location}/bin/perl Makefile.PL inc = ${perl-HTTP-Message:site_perl}
...@@ -6,10 +6,9 @@ parts = ...@@ -6,10 +6,9 @@ parts =
perl-HTTP-Daemon perl-HTTP-Daemon
[perl-HTTP-Daemon] [perl-HTTP-Daemon]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = HTTP/HTTP-Daemon
${perl-HTTP-Message:location} version = 6.01
url = http://www.cpan.org/modules/by-module/HTTP/HTTP-Daemon-6.01.tar.gz
md5sum = ed0ae02d25d7f1e89456d4d69732adc2 md5sum = ed0ae02d25d7f1e89456d4d69732adc2
configure-command =
${perl:location}/bin/perl Makefile.PL inc = ${perl-HTTP-Message:site_perl}
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-HTTP-Date perl-HTTP-Date
[perl-HTTP-Date] [perl-HTTP-Date]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/HTTP/HTTP-Date-6.02.tar.gz module = HTTP/HTTP-Date
version = 6.02
md5sum = 52b7a0d5982d61be1edb217751d7daba md5sum = 52b7a0d5982d61be1edb217751d7daba
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -10,14 +10,14 @@ parts = ...@@ -10,14 +10,14 @@ parts =
perl-HTTP-Message perl-HTTP-Message
[perl-HTTP-Message] [perl-HTTP-Message]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = HTTP/HTTP-Message
${perl-Encode-Locale:location} version = 6.06
${perl-HTTP-Date:location}
${perl-IO-HTML:location}
${perl-LWP-MediaTypes:location}
${perl-URI:location}
url = http://www.cpan.org/modules/by-module/HTTP/HTTP-Message-6.06.tar.gz
md5sum = e563ac516e28d33f65bc0f295f625f85 md5sum = e563ac516e28d33f65bc0f295f625f85
configure-command =
${perl:location}/bin/perl Makefile.PL inc =
${perl-Encode-Locale:site_perl}:\
${perl-HTTP-Date:site_perl}:\
${perl-IO-HTML:site_perl}:\
${perl-LWP-MediaTypes:site_perl}:\
${perl-URI:site_perl}
...@@ -6,10 +6,9 @@ parts = ...@@ -6,10 +6,9 @@ parts =
perl-HTTP-Negotiate perl-HTTP-Negotiate
[perl-HTTP-Negotiate] [perl-HTTP-Negotiate]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = HTTP/HTTP-Negotiate
${perl-HTTP-Message:location} version = 6.01
url = http://www.cpan.org/modules/by-module/HTTP/HTTP-Negotiate-6.01.tar.gz
md5sum = 1236195250e264d7436e7bb02031671b md5sum = 1236195250e264d7436e7bb02031671b
configure-command =
${perl:location}/bin/perl Makefile.PL inc = ${perl-HTTP-Message:site_perl}
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-IO-HTML perl-IO-HTML
[perl-IO-HTML] [perl-IO-HTML]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/IO/IO-HTML-1.00.tar.gz module = IO/IO-HTML
version = 1.00
md5sum = fdfa3fe3d61a7fda9236c8d9776cdd65 md5sum = fdfa3fe3d61a7fda9236c8d9776cdd65
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -6,13 +6,15 @@ extends = ...@@ -6,13 +6,15 @@ extends =
parts = perl-Image-Magick parts = perl-Image-Magick
[perl-Image-Magick] [perl-Image-Magick]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
# module = Image/PerlMagick
# version = 6.77
# version 6.77 is not in `by-module` folder, so we use url= until we update
url = http://search.cpan.org/CPAN/authors/id/J/JC/JCRISTY/PerlMagick-6.77.tar.gz url = http://search.cpan.org/CPAN/authors/id/J/JC/JCRISTY/PerlMagick-6.77.tar.gz
md5sum = fa0f66fa0cabbd1b196254f94dec8e99 md5sum = fa0f66fa0cabbd1b196254f94dec8e99
patch-options = -p0 patch-options = -p0
patches = patches =
${:_profile_base_location_}/perl-Image-Magick_MakefilePL.patch#31043e2b79e725d3b251aa09b4549046 ${:_profile_base_location_}/perl-Image-Magick_MakefilePL.patch#31043e2b79e725d3b251aa09b4549046
configure-command = extra-configure-args = LIBS="-L${imagemagick:location}/lib -Wl,-R${imagemagick:location}/lib -L${perl:location}/libs-c -Wl,-R${perl:location}/libs-c" INC="-I${imagemagick:location}/include/ImageMagick"
${perl:location}/bin/perl Makefile.PL LIBS="-L${imagemagick:location}/lib -Wl,-R${imagemagick:location}/lib -L${perl:location}/libs-c -Wl,-R${perl:location}/libs-c" INC="-I${imagemagick:location}/include/ImageMagick"
environment = environment =
PATH=${patch:location}/bin:%(PATH)s PATH=${patch:location}/bin:%(PATH)s
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-JSON perl-JSON
[perl-JSON] [perl-JSON]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/JSON/JSON-2.90.tar.gz module = JSON/JSON
version = 2.90
md5sum = e1512169a623e790a3f69b599cc1d3b9 md5sum = e1512169a623e790a3f69b599cc1d3b9
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -6,10 +6,9 @@ parts = ...@@ -6,10 +6,9 @@ parts =
perl-LWP-MediaTypes perl-LWP-MediaTypes
[perl-LWP-MediaTypes] [perl-LWP-MediaTypes]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = LWP/LWP-MediaTypes
${perl-URI:location} version = 6.02
url = http://www.cpan.org/modules/by-module/LWP/LWP-MediaTypes-6.02.tar.gz
md5sum = 8c5f25fb64b974d22aff424476ba13c9 md5sum = 8c5f25fb64b974d22aff424476ba13c9
configure-command =
${perl:location}/bin/perl Makefile.PL inc = ${perl-URI:site_perl}
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-Net-HTTP perl-Net-HTTP
[perl-Net-HTTP] [perl-Net-HTTP]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/Net/Net-HTTP-6.06.tar.gz module = Net/Net-HTTP
version = 6.06
md5sum = 6e74d76205f168775de68347266793a7 md5sum = 6e74d76205f168775de68347266793a7
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -5,11 +5,7 @@ parts = ...@@ -5,11 +5,7 @@ parts =
perl-Net-IP perl-Net-IP
[perl-Net-IP] [perl-Net-IP]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/Net/Net-IP-1.26.tar.gz module = Net/Net-IP
version = 1.26
md5sum = 3a98e3ac45d69ea38a63a7e678bd716d md5sum = 3a98e3ac45d69ea38a63a7e678bd716d
configure-command =
${perl:location}/bin/perl Makefile.PL
location = ${buildout:parts-directory}/${:_buildout_section_name_}
make-options =
INSTALLSITESCRIPT=${:location}/bin
...@@ -7,13 +7,13 @@ parts = ...@@ -7,13 +7,13 @@ parts =
perl-SGML-Parser-OpenSP perl-SGML-Parser-OpenSP
[perl-SGML-Parser-OpenSP] [perl-SGML-Parser-OpenSP]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = SGML/SGML-Parser-OpenSP
${perl-Class-Accessor:location} version = 0.994
url = http://www.cpan.org/modules/by-module/SGML/SGML-Parser-OpenSP-0.994.tar.gz
md5sum = b1ee0244e9daa4d37f28cf32c4753691 md5sum = b1ee0244e9daa4d37f28cf32c4753691
configure-command =
${perl:location}/bin/perl Makefile.PL \ inc = ${perl-Class-Accessor:site_perl}
extra-configure-args = \
INC=-I${opensp:location}/include \ INC=-I${opensp:location}/include \
LIBS="-lstdc++ -L${opensp:location}/lib -losp" LIBS="-lstdc++ -L${opensp:location}/lib -losp"
make-options = make-options =
......
...@@ -7,13 +7,18 @@ extends = ...@@ -7,13 +7,18 @@ extends =
parts = perl-Term-ReadLine-Gnu parts = perl-Term-ReadLine-Gnu
[perl-Term-ReadLine-Gnu] [perl-Term-ReadLine-Gnu]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://search.cpan.org/CPAN/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.20.tar.gz module = Term/Term-Readline-Gnu
version = 1.20
md5sum = fa33510193b89a2ada74fcef00816322 md5sum = fa33510193b89a2ada74fcef00816322
patch-options = -p0 patch-options = -p0
patches = patches =
${:_profile_base_location_}/perl-Term-ReadLine-Gnu.patch#d4e4624e717c8da63e4d153149d57b68 ${:_profile_base_location_}/perl-Term-ReadLine-Gnu.patch#d4e4624e717c8da63e4d153149d57b68
configure-command = extra-configure-args = \
${perl:location}/bin/perl Makefile.PL --libdir=${readline:location}/lib --includedir="${readline:location}/include" LIBS="-Wl,-R${readline:location}/lib -L${ncurses:location}/lib -Wl,-R${ncurses:location}/lib" INC="-I${ncurses:location}/include" --includedir="${readline:location}/include" \
--libdir=${readline:location}/lib \
INC="-I${ncurses:location}/include" \
LIBS="-Wl,-R${readline:location}/lib -L${ncurses:location}/lib -Wl,-R${ncurses:location}/lib"
environment = environment =
PATH=${patch:location}/bin:%(PATH)s PATH=${patch:location}/bin:%(PATH)s
...@@ -5,8 +5,12 @@ parts = ...@@ -5,8 +5,12 @@ parts =
perl-URI perl-URI
[perl-URI] [perl-URI]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/URI/URI-1.71.tar.gz module = URI/URI
version = 1.71
md5sum = 247c3da29a794f72730e01aa5a715daf md5sum = 247c3da29a794f72730e01aa5a715daf
configure-command =
${perl:location}/bin/perl Makefile.PL # XXX perl-CPAN-package macro uses https, but perl-URL-1.71 is no longer on CPAN.
# but we have a cached version in shacache (for the http url), so until we
# update this package, keep using the http URL to use the cached version
url = http://www.cpan.org/modules/by-module/URI/URI-1.71.tar.gz
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-WWW-RobotRules perl-WWW-RobotRules
[perl-WWW-RobotRules] [perl-WWW-RobotRules]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/WWW/WWW-RobotRules-6.02.tar.gz module = WWW/WWW-RobotRules
version = 6.02
md5sum = b7186e8b8b3701e70c22abf430742403 md5sum = b7186e8b8b3701e70c22abf430742403
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -9,20 +9,20 @@ parts = ...@@ -9,20 +9,20 @@ parts =
perl-XML-LibXML perl-XML-LibXML
[perl-XML-LibXML] [perl-XML-LibXML]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = XML/XML-LibXML
${perl-XML-NamespaceSupport:location} version = 2.0116
${perl-XML-SAX:location}
url = http://www.cpan.org/modules/by-module/XML/XML-LibXML-2.0116.tar.gz
md5sum = a53a743bf053a0cb4afb41513fb8a684 md5sum = a53a743bf053a0cb4afb41513fb8a684
configure-command =
${perl:location}/bin/perl Makefile.PL DEBUG=1 \ inc = ${perl-XML-NamespaceSupport:site_perl}:${perl-XML-SAX:site_perl}
INC=-I${libxml2:location}/include/libxml2 \ install-inc = blib/lib
LIBS="-L${libxml2:location}/lib -L${zlib:location}/lib" extra-configure-args = \
DEBUG=1 \
INC=-I${libxml2:location}/include/libxml2 \
LIBS="-L${libxml2:location}/lib -L${zlib:location}/lib"
# Parallel make does not work for this package on fast machines # Parallel make does not work for this package on fast machines
# with many cores # with many cores
make-options = make-options =
OTHERLDFLAGS=" -Wl,-rpath=${libxml2:location}/lib -Wl,-rpath=${zlib:location}/lib" -j1 OTHERLDFLAGS=" -Wl,-rpath=${libxml2:location}/lib -Wl,-rpath=${zlib:location}/lib" -j1
environment = environment =
LD_LIBRARY_PATH=${libxml2:location}/lib:${zlib:location}/lib LD_LIBRARY_PATH=${libxml2:location}/lib:${zlib:location}/lib
PERLLIB=blib/lib
...@@ -5,8 +5,9 @@ parts = ...@@ -5,8 +5,9 @@ parts =
perl-XML-NamespaceSupport perl-XML-NamespaceSupport
[perl-XML-NamespaceSupport] [perl-XML-NamespaceSupport]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/XML/XML-NamespaceSupport-1.11.tar.gz module = XML/XML-NamespaceSupport
version = 1.11
md5sum = 222cca76161cd956d724286d36b607da md5sum = 222cca76161cd956d724286d36b607da
configure-command =
${perl:location}/bin/perl -I. Makefile.PL install-inc = .
...@@ -7,18 +7,17 @@ parts = ...@@ -7,18 +7,17 @@ parts =
perl-XML-Parser perl-XML-Parser
[perl-XML-Parser] [perl-XML-Parser]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = XML/XML-Parser
${perl-libwww-perl:location} version = 2.41
url = http://www.cpan.org/modules/by-module/XML/XML-Parser-2.41.tar.gz
md5sum = c320d2ffa459e6cdc6f9f59c1185855e md5sum = c320d2ffa459e6cdc6f9f59c1185855e
configure-command =
${perl:location}/bin/perl Makefile.PL \ inc = ${perl-libwww-perl:site_perl}
install-inc = blib/lib
extra-configure-args =
EXPATINCPATH=${libexpat:location}/include \ EXPATINCPATH=${libexpat:location}/include \
EXPATLIBPATH=${libexpat:location}/lib \ EXPATLIBPATH=${libexpat:location}/lib
# Parallel make does not work for this package on fast machines # Parallel make does not work for this package on fast machines
# with many cores # with many cores
make-options = make-options =
OTHERLDFLAGS="-Wl,-rpath=${libexpat:location}/lib" -j1 OTHERLDFLAGS="-Wl,-rpath=${libexpat:location}/lib" -j1
environment =
PERLLIB=blib/lib
...@@ -5,8 +5,7 @@ parts = ...@@ -5,8 +5,7 @@ parts =
perl-XML-SAX-Base perl-XML-SAX-Base
[perl-XML-SAX-Base] [perl-XML-SAX-Base]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
url = http://www.cpan.org/modules/by-module/XML/XML-SAX-Base-1.08.tar.gz module = XML/XML-SAX-Base
version = 1.08
md5sum = 38c8c3247dfd080712596118d70dbe32 md5sum = 38c8c3247dfd080712596118d70dbe32
configure-command =
${perl:location}/bin/perl Makefile.PL
...@@ -7,14 +7,14 @@ parts = ...@@ -7,14 +7,14 @@ parts =
perl-XML-SAX perl-XML-SAX
[perl-XML-SAX] [perl-XML-SAX]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = XML/XML-SAX
${perl-XML-NamespaceSupport:location} version = 0.99
${perl-XML-SAX-Base:location}
url = http://www.cpan.org/modules/by-module/XML/XML-SAX-0.99.tar.gz
md5sum = 290f5375ae87fdebfdb5bc3854019f24 md5sum = 290f5375ae87fdebfdb5bc3854019f24
# say 'y' for 'Do you want XML::SAX to alter ParserDetails.ini? [Y]' question.
configure-command = inc = ${perl-XML-NamespaceSupport:site_perl}:${perl-XML-SAX-Base:site_perl}
echo y | ${perl:location}/bin/perl Makefile.PL install-inc = blib/lib
# PERL_MM_USE_DEFAULT: To answer default answers to prompt ( see http://search.cpan.org/~bingos/ExtUtils-MakeMaker-7.34/lib/ExtUtils/MakeMaker.pm )
environment = environment =
PERLLIB=blib/lib PERL_MM_USE_DEFAULT=yes
...@@ -17,24 +17,21 @@ parts = ...@@ -17,24 +17,21 @@ parts =
perl-libwww-perl perl-libwww-perl
[perl-libwww-perl] [perl-libwww-perl]
recipe = slapos.recipe.cmmi <= perl-CPAN-package
depends = module = LWP/libwww-perl
${perl-Data-Dump:location} version = 6.06
${perl-Encode-Locale:location}
${perl-File-Listing:location}
${perl-HTML-Parser:location}
${perl-HTTP-Cookies:location}
${perl-HTTP-Daemon:location}
${perl-HTTP-Message:location}
${perl-HTTP-Negotiate:location}
${perl-LWP-MediaTypes:location}
${perl-Net-HTTP:location}
${perl-URI:location}
${perl-WWW-RobotRules:location}
url = http://www.cpan.org/modules/by-module/LWP/libwww-perl-6.06.tar.gz
md5sum = 292496bd2a13da95903b383f59009200 md5sum = 292496bd2a13da95903b383f59009200
configure-command =
${perl:location}/bin/perl Makefile.PL inc =
location = ${buildout:parts-directory}/${:_buildout_section_name_} ${perl-Data-Dump:site_perl}:\
make-options = ${perl-Encode-Locale:site_perl}:\
INSTALLSITESCRIPT=${:location}/bin ${perl-File-Listing:site_perl}:\
${perl-HTML-Parser:site_perl}:\
${perl-HTTP-Cookies:site_perl}:\
${perl-HTTP-Daemon:site_perl}:\
${perl-HTTP-Message:site_perl}:\
${perl-HTTP-Negotiate:site_perl}:\
${perl-LWP-MediaTypes:site_perl}:\
${perl-Net-HTTP:site_perl}:\
${perl-URI:site_perl}:\
${perl-WWW-RobotRules:site_perl}
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