Created chromium component
[slapos.git] / component / chromium / buildout.cfg
1 [buildout]
2
3 parts = 
4   chromium
5   
6 [chromium]
7 recipe = slapos.recipe.build
8 slapos_promisee =
9   bin:chrome
10
11 x86 = http://commondatastorage.googleapis.com/chromium-browser-continuous/Linux/98589/chrome-linux.zip 8ba6c022849b2a882b6e65163c147eb9
12 x86-64 = http://commondatastorage.googleapis.com/chromium-browser-continuous/Linux_x64/98589/chrome-linux.zip 7d2c81295ba3a25b0d1d22eb6162e481
13 script =
14   if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
15   extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
16   workdir = guessworkdir(extract_dir)
17   self.copyTree(workdir, "%(location)s")