easyblock = 'ConfigureMake'

name = 'XMLStarlet'
version = '1.6.1'

homepage = 'http://xmlstar.sourceforge.net'
description = """Command line XML tool"""


toolchain = {'name': 'goolf', 'version': '1.5.16'}

source_urls = [('http://sourceforge.net/projects/xmlstar/files/%s/%s' % (name.lower(), version), 'download')]
sources = [SOURCELOWER_TAR_GZ]

dependencies = [
    ('libxml2', '2.9.2'),
    ('libxslt', '1.1.28')
]

sanity_check_paths = {
    'files': ['bin/xml', 'share/doc/xmlstarlet/html.css', 'share/doc/xmlstarlet/xmlstarlet-ug.html',
              'share/doc/xmlstarlet/xmlstarlet.txt', 'share/man/man1/xmlstarlet.1'],
    'dirs': ['bin', 'share/doc/xmlstarlet', 'share/man/man1']
}

moduleclass = 'data'
