# JH 2020

easyblock = 'PackedBinary'

name = 'ant'
version = '1.10.7'
versionsuffix = '-Java-%(javaver)s'

homepage = 'https://ant.apache.org/'
description = """Apache Ant is a Java library and command-line tool whose mission is to drive processes described in
 build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of
 Java applications."""

toolchain = SYSTEM

source_urls = ['https://apache.mirrors.cu.be/ant/binaries']
sources = ['apache-%(name)s-%(version)s-bin.tar.gz']
checksums = ['2e0f2e0348e146b5a366de55bb97a1508c57544623f35f2432b7f6b844581341']

dependencies = [('Java', '13.0.1')]

sanity_check_paths = {
    'files': ['bin/ant', 'lib/ant.jar'],
    'dirs': [],
}

modextravars = {'ANT_HOME': '%(installdir)s'}

moduleclass = 'devel'
