Merge branch master
[slapos.git] / software / lifetype / software.cfg
1 [buildout]
2 versions = versions
3
4 parts =
5   template
6   apache-php
7   mariadb
8   eggs
9   instance-recipe-egg
10   lifetype-patch
11   patch
12   
13 extends =
14   ../../stack/lamp.cfg
15
16 [lifetype-patch]
17 recipe = slapos.recipe.download
18 url = http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp-mayoro:/software/lifetype/lifetype_for_mysql5.patch
19 md5sum = c52bea61ea452b9f3caa82426a5819e5
20 location = ${buildout:parts-directory}/${:_buildout_section_name_}
21 filename = lifetype_for_mysql5.patch
22
23 [application]
24 recipe = slapos.recipe.build:download-unpacked
25 url = http://garr.dl.sourceforge.net/project/lifetype/lifetype/lifetype-1.2.11/lifetype-1.2.11.tar.bz2
26 md5sum = 50e329dfdb6c5876c0600abe30a379fb
27 strip-top-level-dir = true
28
29 [patch]
30 recipe = iw.recipe.cmd
31 on_install = true
32 on_update = true
33 cmds= patch -d ${application:location} -p1 < ${lifetype-patch:location}/${lifetype-patch:filename}
34
35 [instance-recipe]
36 egg = slapos.cookbook
37 module = lamp.simple
38
39 [template]
40 # Default template for the instance.
41 recipe = slapos.recipe.template
42 url = ${:_profile_base_location_}/instance.cfg
43 #md5sum = Student shall put md5 of instance.cfg here
44 output = ${buildout:directory}/template.cfg
45 mode = 0644
46
47 [instance-recipe-egg]
48 recipe = zc.recipe.egg
49 eggs =
50     ${mysql-python:egg}
51     ${instance-recipe:egg}
52     slapos.toolbox[lampconfigure]