version up : HAProxy 1.5.8.
[slapos.git] / component / java / buildout.cfg
1 [buildout]
2
3 parts =
4   java
5
6 [java]
7 <= java-re
8
9 [java-re]
10 <= java-re-7
11
12 [java-re-7]
13 recipe = slapos.recipe.build
14 slapos_promisee =
15   directory:bin
16   directory:lib
17   directory:man
18   directory:plugin
19   file:lib/rt.jar
20   file:bin/java
21 # http://java.com/en/download/manual_java7.jsp
22 x86 = http://javadl.sun.com/webapps/download/AutoDL?BundleId=97798 90a6b9e2a32d06c18a3f16b485f0d1ea
23 x86-64 = http://javadl.sun.com/webapps/download/AutoDL?BundleId=97800 7605134662f6c87131eca5745895fe84
24 script =
25   if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
26   extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
27   workdir = guessworkdir(extract_dir)
28   self.copyTree(workdir, "%(location)s")
29
30 [java-re-8]
31 recipe = slapos.recipe.build
32 slapos_promisee =
33   directory:bin
34   directory:lib
35   directory:man
36   directory:plugin
37   file:lib/rt.jar
38   file:bin/java
39 # http://java.com/en/download/manual_java7.jsp
40 x86 = http://javadl.sun.com/webapps/download/AutoDL?BundleId=97358 22d970566c418499d331a2099d77c548
41 x86-64 = http://javadl.sun.com/webapps/download/AutoDL?BundleId=97360 f4f7f7335eaf2e7b5ff455abece9d5ed
42 script =
43   if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
44   extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
45   workdir = guessworkdir(extract_dir)
46   self.copyTree(workdir, "%(location)s")