import Options import platform def set_options(opt): pass def configure(conf): conf.env.append_value('CCFLAGS', ['-DHAVE_CONFIG_H=1']) def build(bld): libev = bld.new_task_gen("cc") libev.source = "ev.c" libev.target = 'ev' libev.name = 'ev' libev.includes = '. ./' + bld.env['DEST_OS'] libev.install_path = None if bld.env["USE_DEBUG"]: libev.clone("debug"); bld.install_files('${PREFIX}/include/node/', 'ev.h');