Commit 05174c12 authored by Jérome Perrin's avatar Jérome Perrin

component/jsl: switch to slapos.recipe.cmmi shared mode

This keeps the bug compatibility that we ignore error in the build.

jsl does not understand modern javascript syntax and does not do so many
useful checks, it would be waste of time trying to fix it.
parent f00b7a55
......@@ -5,16 +5,10 @@
parts = jsl
[jsl]
recipe = slapos.recipe.build
recipe = slapos.recipe.cmmi
shared = true
url = http://www.javascriptlint.com/download/jsl-0.3.0-src.tar.gz
md5sum = 2b94ffa4fab07acabe0c5e73cd49bcdf
script =
location = %(location)r
self.failIfPathExists(location)
import sys
url = self.options['url']
md5sum = self.options['md5sum']
extract_dir = self.extract(self.download(url, md5sum))
workdir = guessworkdir(extract_dir)
os.chdir(os.path.join(workdir, 'src'))
os.system('make -f Makefile.ref -j 1 DIST="%(location)s" all export')
configure-command = :
make-binary = cd src && make -f Makefile.ref -j 1 DIST="@@LOCATION@@" all export || true
make-targets =
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