Update java component to use slapos.recipe.build

parent af04f787
[buildout]
parts =
parts =
java
[java]
recipe = slapos.recipe.download
recipe = slapos.recipe.build
slapos_promisee =
directory:bin
architecture_list =
x86 http://javadl.sun.com/webapps/download/AutoDL?BundleId=48334 377456da9fa4d867d4bdf4c655a16dce
x86-64 http://javadl.sun.com/webapps/download/AutoDL?BundleId=48338 bae0cb5d10181abdd9650dcb590eda67
\ No newline at end of file
directory:lib
directory:man
directory:plugin
directory:javaws
x86 = http://javadl.sun.com/webapps/download/AutoDL?BundleId=483 377456da9fa4d867d4bdf4c655a16dce
x86-64 = http://javadl.sun.com/webapps/download/AutoDL?BundleId=48338 bae0cb5d10181abdd9650dcb590eda67
script =
if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
print(extract_dir)
workdir = guessworkdir(extract_dir)
self.copy(workdir, "%(location)s")
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment