easyblock = 'ConfigureMake'

name = 'CppUnit'
version = '1.12.1'

homepage = 'http://sourceforge.net/projects/cppunit/'
description = """CppUnit is the C++ port of the famous JUnit framework for unit testing."""

toolchain = {'name': 'foss', 'version': '2016a'}

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

sanity_check_paths = {
    'files': ['lib/libcppunit.a', 'lib/libcppunit.%s' % SHLIB_EXT, 'lib/pkgconfig/cppunit.pc'],
    'dirs': ['bin', 'include/cppunit', 'share'],
}

moduleclass = 'tools'
