[buildout] parts = spidermonkey [spidermonkey-1.7] recipe = slapos.recipe.build url = ftp://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz md5sum = 5571134c3863686b623ebe4e6b1f6fe6 slapos_promise = directory:include/ directory:bin/ file:bin/js statlib:lib/libjs.a file:lib/libjs.so script = url = self.download(self.options['url'], self.options['md5sum']) extract_dir = self.extract(url) workdir = os.path.join(guessworkdir(extract_dir), 'src') env.update(JS_DIST=self.options['location']) call(['make', '-f', 'Makefile.ref'], cwd=workdir, env=env) call(['make', '-f', 'Makefile.ref', 'export'], cwd=workdir, env=env) [spidermonkey] <= spidermonkey-1.7