Runner: Merge development into master for release
[slapos.git] / software / unstable / mioga / software.cfg
1 [buildout]
2 develop =
3   /srv/slapgrid/slappart9/srv/runner/project/slapos
4   /opt/slapdev_build
5
6 extends =
7   ../../component/rsync/buildout.cfg
8   ../../component/apache-perl/buildout.cfg
9   ../../component/perl-Crypt-SSLeay/buildout.cfg
10   ../../component/perl-XML-Parser/buildout.cfg
11   ../../component/perl-XML-LibXML/buildout.cfg
12   ../../component/perl-XML-LibXSLT/buildout.cfg
13   ../../component/perl-Term-ReadLine-Gnu/buildout.cfg
14   ../../component/perl-Text-Iconv/buildout.cfg
15   ../../component/perl-Image-Magick/buildout.cfg
16   ../../component/postgresql/buildout.cfg
17   ../../component/perl-DBD-Pg/buildout.cfg
18   ../../component/perl-Search-Xapian/buildout.cfg
19   ../../component/libxslt/buildout.cfg
20   ../../component/dcron/buildout.cfg
21   ../../component/dropbear/buildout.cfg
22   ../../component/lxml-python/buildout.cfg
23   ../../stack/slapos.cfg
24
25 parts = 
26   eggs
27   apache-perl
28   perl-Apache2-Request
29   perl-Crypt-SSLeay
30   perl-DBD-Pg
31   perl-XML-Parser
32   perl-XML-LibXML
33   perl-XML-LibXSLT
34   perl-Term-ReadLine-Gnu
35   perl-Text-Iconv
36   perl-Image-Magick
37   perl-String-Checker-mioga
38   perl-Search-Xapian
39   cpan-simple-modules
40   rsync
41   mioga
42   template
43   template-apacheperl
44   template-postgres
45
46 [eggs]
47 recipe = zc.recipe.egg
48 eggs =
49   ${lxml-python:egg}
50   slapos.cookbook
51   cns.recipe.symlink
52
53 # override perl here to keep using 5.14.x.
54 [perl]
55 recipe = hexagonit.recipe.cmmi
56 version = 5.14.2
57 url = http://www.cpan.org/src/5.0/perl-${:version}.tar.bz2
58 md5sum = 04a4c5d3c1f9f19d77daff8e8cd19a26
59 siteprefix = ${buildout:parts-directory}/site_${:_buildout_section_name_}
60 patch-options = -p1
61 patches =
62   ${perl-keep-linker-flags-in-ldflags.patch:location}/${perl-keep-linker-flags-in-ldflags.patch:filename}
63 # Viktor has adapted the following commands for AMD64 compilation
64 # TODO: find out how we can write a generic code that suits all architectures
65 configure-command =
66   sh Configure -des \
67     -A ccflags=-fPIC \
68     -Dprefix=${buildout:parts-directory}/${:_buildout_section_name_} \
69     -Dsiteprefix=${:siteprefix} \
70     -Dcflags=-I${gdbm:location}/include \
71     -Dldflags="-L${gdbm:location}/lib -Wl,-rpath=${gdbm:location}/lib" \
72     -Ui_db \
73     -Dnoextensions=ODBM_File \
74     -Dusethreads
75 environment =
76   PATH=${patch:location}/bin:%(PATH)s
77   CFLAGS='-m64 -mtune=nocona'
78 post-make-hook = ${perl-postmakehook-download:location}/${perl-postmakehook-download:filename}:post_make_hook
79
80 [cpan-simple-modules]
81 recipe = slapos.recipe.build:cpan
82 modules =
83   S/ST/STBEY/Date-Calc-6.3.tar.gz
84   D/DC/DCOPPIT/Benchmark-Timer-0.7102.tar.gz
85   R/RB/RBOW/Date-ICal-2.678.tar.gz
86   S/SB/SBECK/Date-Manip-6.37.tar.gz
87   G/GB/GBARR/TimeDate-1.20.tar.gz
88   S/SH/SHLOMIF/Error-0.17018.tar.gz
89   P/PA/PARDUS/File-MimeInfo/File-MimeInfo-0.16.tar.gz
90   O/OV/OVID/HTML-TokeParser-Simple-3.15.tar.gz
91   D/DS/DSKOLL/MIME-tools-5.503.tar.gz
92   D/DS/DSKOLL/IO-stringy-2.110.tar.gz
93   C/CO/COSIMO/HTTP-DAV-0.47.tar.gz
94   M/MA/MARSCHAP/perl-ldap-0.48.tar.gz
95   F/FD/FDESAR/Parse-Yapp-1.05.tar.gz
96   S/SN/SNOWHARE/Unicode-MapUTF8-1.11.tar.gz
97   G/GA/GAAS/Unicode-String-2.09.tar.gz
98   T/TY/TYEMQ/Algorithm-Diff-1.1902.tar.gz
99   J/JG/JGMYERS/Encode-Detect-1.01.tar.gz
100   G/GU/GUIDO/libintl-perl-1.20.tar.gz
101   K/KE/KEN/XML-XML2JSON-0.06.tar.gz
102   A/AR/ARISTOTLE/XML-Atom-SimpleFeed-0.86.tar.gz
103   P/PE/PETDANCE/Test-WWW-Mechanize-1.44.tar.gz
104   G/GR/GRANTM/XML-Simple-2.20.tar.gz
105   A/AD/ADAMK/Archive-Zip-1.30.tar.gz
106   D/DU/DURIST/Proc-ProcessTable-0.45.tar.gz
107   S/SU/SULLR/Net-INET6Glue-0.5.tar.gz
108 perl = perl
109 cpan-configuration =
110   makepl_arg=''
111   make_arg=''
112
113 [perl-String-Checker-mioga]
114 recipe = hexagonit.recipe.cmmi
115 url = http://packages.alixen.org/contribs/String-Checker-0.03.tar.gz
116 md5sum = c750a33505609544f95eace7a2896c84
117 configure-command =
118   ${perl:location}/bin/perl Makefile.PL
119
120 [mioga]
121 recipe = hexagonit.recipe.cmmi
122 version = 2.4.16
123 # No use re-using "version", the whole URL will change for the next one
124 url = http://www.alixen.org/attachments/download/89/Mioga2-2.4.16.tar.gz
125 md5sum = 1d2e76c798ee6d5f233011997200e125
126 location = ${buildout:parts-directory}/${:_buildout_section_name_}
127 buildinst = ${mioga:location}/buildinst
128 static = ${mioga:location}/static
129 environment =
130   MIOGA_BASE=${mioga:location}
131   MIOGA_BUILDINST=${mioga:buildinst}
132   MIOGA_STATIC=${mioga:static}
133   MIOGA_SITEPERL=${perl:siteprefix}
134   PATH=${libxslt:location}/bin:${libxml2:location}/bin:${perl:location}/bin:${perl:siteprefix}/bin:${rsync:location}/bin:%(PATH)s
135 patch-options = -p1
136 patches =
137   ${mioga-patch:location}/${mioga-patch:filename}
138 # post-make-hook = ${mioga-postmakehook:location}/${mioga-postmakehook:filename}:post_make_hook
139 pre-configure-hook = ${mioga-hooks:location}/${mioga-hooks:filename}:pre_configure_hook
140 configure-command =
141   ${perl:location}/bin/perl Makefile.PL
142 make-targets =
143   slapos-compilation
144 keep-compile-dir = true
145 perl-binary = ${perl:location}/bin/perl
146
147 [mioga-patch]
148 recipe = hexagonit.recipe.download
149 url = ${:_profile_base_location_}/${:filename}
150 # md5sum = b836ad89902d1ea68b091a5b9800edd8
151 download-only = true
152 filename = ${:_buildout_section_name_}
153
154 [mioga-hooks]
155 recipe = hexagonit.recipe.download
156 url = ${:_profile_base_location_}/${:filename}
157 # md5sum = c7ceec7788749238cb5fbe09beb647b1
158 download-only = true
159 filename = mioga-hooks.py
160
161 [template]
162 recipe = slapos.recipe.template
163 url = ${:_profile_base_location_}/instance.cfg
164 # md5sum = 
165 output = ${buildout:directory}/template.cfg
166 mode = 0644
167
168 [template-apacheperl]
169 recipe = slapos.recipe.template
170 url = ${:_profile_base_location_}/instance-apacheperl.cfg
171 # md5sum = 
172 output = ${buildout:directory}/template-apacheperl.cfg
173 mode = 0644
174 compile-directory = ${mioga:compile-directory}/Mioga2-${mioga:version}
175
176
177 [template-postgres]
178 recipe = slapos.recipe.template
179 url = ${:_profile_base_location_}/instance-postgres.cfg
180 # md5sum = 
181 output = ${buildout:directory}/template-postgres.cfg
182 mode = 0644