Use stable slapos.cookbook in lapp stack
[slapos.git] / software / maarch / software.cfg
1 [buildout]
2
3 extends =
4   ../../component/git/buildout.cfg
5   ../../stack/lapp/buildout.cfg
6
7
8 develop =
9   ${:parts-directory}/slapos.cookbook-repository
10   ${:parts-directory}/slapos.recipe.maarch-repository
11
12
13 # += since we need rdiff-backup and friends
14 parts +=
15   apache-php-postgres
16   pear-modules
17   eggs
18   instance
19   instance-apache-php
20   slapos.recipe.maarch-repository
21   check-recipe
22
23
24 [versions]
25 slapos.recipe.maarch = 
26
27
28 [slapos.recipe.maarch-repository]
29 recipe = slapos.recipe.build:gitclone
30 repository = http://git.erp5.org/repos/slapos.recipe.maarch.git
31 branch = master
32 git-executable = ${git:location}/bin/git
33
34
35 [check-recipe]
36 recipe = plone.recipe.command
37 stop-on-error = true
38 update-command = ${:command}
39 command =
40   grep parts ${buildout:develop-eggs-directory}/slapos.recipe.maarch.egg-link
41
42
43 #----------------
44 #--
45 #-- Main application part
46 #--
47
48 [application]
49 url = http://downloads.sourceforge.net/project/maarch/Maarch%20Entreprise/MaarchEntreprise-1.3.zip
50 md5sum = 5c2c859dee9d0dde3ba959474fd5fc86
51
52
53 #----------------
54 #--
55 #-- Define parts that will be executed later, in the instance.
56 #--
57
58 [custom-application-deployment]
59 path = ${custom-application-deployment-template:output}
60 part-list = maarch-configuration
61
62 [custom-application-deployment-template]
63 recipe = slapos.recipe.template
64 url = ${:_profile_base_location_}/instance-custom.cfg.in
65 output = ${buildout:directory}/instance-custom.cfg
66 md5sum = 22d8e4d8bb1a5b1c42c6cfb42ee490a0
67 mode = 0644
68
69
70 #----------------
71 #--
72 #-- Install PHP channels and modules (only if they are not already installed).
73 #--
74
75 [pear-modules]
76 recipe = cp.recipe.cmd
77 pear = ${apache-php-postgres:location}/bin/pear
78 install_cmd =
79     ${:pear} channel-info pear.maarch.org >/dev/null || ${:pear} channel-discover pear.maarch.org
80     ${:pear} info maarch/CLITools-0.3.1 >/dev/null || ${:pear} install maarch/CLITools-0.3.1
81     ${:pear} info MIME_Type >/dev/null || ${:pear} install MIME_Type
82
83
84 #----------------
85