version up : groonga 3.1.0 and mroonga 3.10.
[slapos.git] / software / xaraya / software.cfg
1 [buildout]
2 versions = versions
3
4 parts =
5   template
6   apache-php
7   mariadb
8   eggs
9   instance-recipe-egg
10   
11 extends =
12   ../../stack/lamp.cfg
13
14 [application]
15 recipe = slapos.recipe.build:download-unpacked
16 url = http://freefr.dl.sourceforge.net/project/xaraya/Core%20plus%20Modules/Xaraya%201.2.3%20Core%20Plus/xaraya-1.2.3-full.tar.gz
17 md5sum = c2fd2daa5335d262b4288e456c233434
18 script =
19   if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
20   extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
21   workdir = guessworkdir(extract_dir)
22   self.copyTree(workdir + "/html", "${buildout:parts-directory}/${:_buildout_section_name_}")
23   
24 [instance-recipe]
25 egg = slapos.cookbook
26 module = lamp.simple
27
28 [template]
29 # Default template for the instance.
30 recipe = slapos.recipe.template
31 url = ${:_profile_base_location_}/instance.cfg
32 #${:_profile_base_location_}/instance.cfg
33 #md5sum = Student shall put md5 of instance.cfg here
34 output = ${buildout:directory}/template.cfg
35 mode = 0644
36
37 [instance-recipe-egg]
38 recipe = zc.recipe.egg
39 eggs =
40     ${mysql-python:egg}
41     ${instance-recipe:egg}
42     slapos.toolbox[lampconfigure]
43