# IT4Innovations 2019

easyblock = 'ConfigureMake'

name = 'SoX'
version = '14.4.2'

homepage = 'http://http://sox.sourceforge.net/'
description = """Sound eXchange, the Swiss Army knife of audio manipulation"""

toolchain = {'name': 'system', 'version': ''}

sources = [SOURCELOWER_TAR_GZ]
source_urls = ['https://sourceforge.net/projects/sox/files/sox/%(version)s']

# These are not strictly mandatory but add flac and mp3 support to SoX
dependencies = [
    ('FLAC', '1.3.1'),
    ('LAME', '3.100')
]

sanity_check_paths = {
    'files': ['bin/sox', 'include/sox.h', 'lib/libsox.%s' % SHLIB_EXT],
    'dirs': [],
}

moduleclass = 'data'
