# #
# Author:    Robert Mijakovic <robert.mijakovic@lxp.lu>
# #
easyblock = 'ConfigureMake'

name = 'Autoconf'
version = '2.71'
versionsuffix = '-test'

homepage = 'https://www.gnu.org/software/autoconf/'
description = """Autoconf is an extensible package of M4 macros that produce shell scripts
 to automatically configure software source code packages. These scripts can adapt the
 packages to many kinds of UNIX-like systems without manual user intervention. Autoconf
 creates a configuration script for a package from a template file that lists the
 operating system features that the package can use, in the form of M4 macro calls."""

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

source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4']

builddependencies = [
    ('binutils', '2.36.1'),
    # non-standard Perl modules are required,
    # see https://github.com/easybuilders/easybuild-easyconfigs/issues/1822
    ('Perl', '5.32.1', '-test'),
]
dependencies = [
    ('M4', '1.4.18'),
]


sanity_check_paths = {
    'files': ['bin/%(namelower)s', 'bin/autoheader', 'bin/autom4te', 'bin/autoreconf', 'bin/autoscan', 'bin/autoupdate', 'bin/ifnames'],
    'dirs': [],
}

moduleclass = 'devel'
