# IT4Innovations
# LK 2024

easyblock = 'CMakeMake'

name = 'Doxygen'
version = '1.11.0'

homepage = 'https://www.doxygen.org'
description = """
 Doxygen is a documentation system for C++, C, Java, Objective-C, Python,
 IDL (Corba and Microsoft flavors), Fortran, VHDL, PHP, C#, and to some
 extent D.
"""

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

source_urls = [SOURCEFORGE_SOURCE]
sources = ['%(namelower)s-%(version)s.src.tar.gz']
checksums = ['c9edfdf8c5f3e8bee0c4c967850caead27099883ee7ff8b11044e6d63faf3607']

builddependencies = [
    ('binutils', '2.42'),
    ('Bison', '3.8.2'),
    ('CMake', '3.30.5'),
    ('flex', '2.6.4'),
    ('pkgconf', '2.2.0'),
    ('Python', '3.12.3'),
]

dependencies = [
    ('libiconv', '1.17'),
]

configopts = "-DICONV_DIR=$EBROOTLIBICONV -DICONV_IN_GLIBC=OFF"

sanity_check_paths = {
    'files': ["bin/doxygen"],
    'dirs': [],
}

sanity_check_commands = ["doxygen --help"]

moduleclass = 'devel'
