version up : percona-toolkit 2.2.10.
[slapos.git] / component / spidermonkey / buildout.cfg
1 [buildout]
2
3 parts = spidermonkey
4
5 [spidermonkey-1.7]
6 recipe = slapos.recipe.build
7 url = ftp://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz
8 md5sum = 5571134c3863686b623ebe4e6b1f6fe6
9 slapos_promise =
10   directory:include/
11   directory:bin/
12   file:bin/js
13   statlib:lib/libjs.a
14   file:lib/libjs.so
15 script =
16   url = self.download(self.options['url'], self.options['md5sum'])
17   extract_dir = self.extract(url)
18   workdir = os.path.join(guessworkdir(extract_dir), 'src')
19   env.update(JS_DIST=self.options['location'])
20   call(['make', '-f', 'Makefile.ref'], cwd=workdir, env=env)
21   call(['make', '-f', 'Makefile.ref', 'export'], cwd=workdir, env=env)
22
23 [spidermonkey]
24 <= spidermonkey-1.7