Update java component to use slapos.recipe.build

parent af04f787
...@@ -4,9 +4,19 @@ parts = ...@@ -4,9 +4,19 @@ parts =
java java
[java] [java]
recipe = slapos.recipe.download recipe = slapos.recipe.build
slapos_promisee = slapos_promisee =
directory:bin directory:bin
architecture_list = directory:lib
x86 http://javadl.sun.com/webapps/download/AutoDL?BundleId=48334 377456da9fa4d867d4bdf4c655a16dce directory:man
x86-64 http://javadl.sun.com/webapps/download/AutoDL?BundleId=48338 bae0cb5d10181abdd9650dcb590eda67 directory:plugin
\ No newline at end of file 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