summaryrefslogtreecommitdiff
path: root/cscript
blob: 34ba4918941dd6d504448eb4e3d06b71639b9036 (plain)
1
2
3
4
5
6
7
8
9
10
11

def build(target, options):
    cmd = './configure --prefix=%s --disable-lcms1 --disable-lcms2 --disable-tiff' % target.directory
    if target.platform == 'osx':
        cmd += ' --disable-dependency-tracking'
    if target.platform == 'windows':
        cmd += ' --host=%s' % target.name

    target.command(cmd)
    target.command('make -j2 V=1')
    target.command('make install')