easyblock = 'ConfigureMake'

name = 'libbitmask'
version = '2.0'

homepage = 'http://oss.sgi.com/projects/cpusets/'
description = "libbitmask provides a convenient, powerful bitmask data type"

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

source_urls = ['ftp://oss.sgi.com/projects/cpusets/download/']
sources = [SOURCE_TAR_BZ2]

builddependencies = [('Autotools', '20150215')]

preconfigopts = "aclocal && libtoolize && autoconf && automake --add-missing && "

sanity_check_paths = {
    'files': ['include/bitmask.h', 'lib/libbitmask.a', 'lib/libbitmask.so'],
    'dirs': ['share'],
}

moduleclass = 'lib'
