# IT4Innovations
# LK 2024

easyblock = 'ConfigureMake'

name = 'Automake'
version = '1.16.5'

homepage = 'https://www.gnu.org/software/automake/automake.html'

description = "Automake: GNU Standards-compliant Makefile generator"

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

source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['07bd24ad08a64bc17250ce09ec56e921d6343903943e99ccf63bbf0705e34605']

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

dependencies = [
    ('Autoconf', '2.72'),
    # non-standard Perl modules are required,
    # see https://github.com/easybuilders/easybuild-easyconfigs/issues/1822
    ('Perl', '5.38.2'),
]

preconfigopts = "export PERL='/usr/bin/env perl' && "

sanity_check_paths = {
    'files': ['bin/aclocal', 'bin/automake'],
    'dirs': []
}

sanity_check_commands = [
    "aclocal --help",
    "automake --help",
]

moduleclass = 'devel'
