shithub: aubio

ref: 04ceeab0124ab3e08530e0ebbf93179c3ba7d31d
dir: /ext/wscript_build/

View raw version
# build libaubioext
libaubioext = bld.new_task_gen(
    features = 'cc cshlib',
    includes = ['.', '../src'],
    source = bld.path.ant_glob('*.c **/*.c'),
    target = 'aubioext',
    uselib = ['ALSA', 'SNDFILE', 'JACK'],
    uselib_local = ['aubio'],
    vnum = bld.env['LIB_VERSION'])

# install headers
for file in bld.path.ant_glob('**/*.h').split():
  bld.install_as('${PREFIX}/include/aubio/' + file, file)