e9f13ad1f9120ad98c755e5bed11a19d61cabde7
[openjpeg.git] / cscript
1
2 def build(dep_prefix, install_prefix, target, static, parallel):
3     configure = './configure --prefix=%s' % install_prefix)
4     if static:
5        configure += ' --enable-static'
6     command(cmd)
7     command('make -j%d' % parallel)
8     command('make install')