easyblock = 'ConfigureMake'

name = 'CppUnit'
version = '1.15.1'

homepage = 'https://freedesktop.org/wiki/Software/cppunit/'

description = """
 CppUnit is the C++ port of the famous JUnit framework for unit testing.
"""

toolchain = {'name': 'GCCcore', 'version': '10.2.0'}

source_urls = ['https://dev-www.libreoffice.org/src']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7']

builddependencies = [
    ('binutils', '2.35'),
]

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

moduleclass = 'tools'
