Merge branch 'erp5' into erp5-z2.13
[slapos.git] / component / jsl / buildout.cfg
1 # jsl - command line javascript lint
2 # http://javascriptlint.com/
3
4 [buildout]
5 parts = jsl
6
7 [jsl]
8 recipe = slapos.recipe.build
9 url = http://www.javascriptlint.com/download/jsl-0.3.0-src.tar.gz
10 md5sum = 2b94ffa4fab07acabe0c5e73cd49bcdf
11 script =
12   location = %(location)r
13   self.failIfPathExists(location)
14   import sys
15   url = self.options['url']
16   md5sum = self.options['md5sum']
17   extract_dir = self.extract(self.download(url, md5sum))
18   workdir = guessworkdir(extract_dir)
19   os.chdir(os.path.join(workdir, 'src'))
20   os.system('make -f Makefile.ref -j 1 DIST="%(location)s" all export')