easyblock = 'ConfigureMake'

name = 'xorg-macros'
version = '1.19.1'

homepage = 'http://cgit.freedesktop.org/xorg/util/macros'
description = """X.org macros utilities."""

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

source_urls = ['http://cgit.freedesktop.org/xorg/util/macros/snapshot']  # no slash ('/') at the end!
sources = ['util-macros-%(version)s.tar.gz']
checksums = ['f056411c49a9955f141cad4d7b258a1a5e5bcc0f2a197ee00c63ac3bbe9f347a']

builddependencies = [
    ('binutils', '2.28'),
    ('Autotools', '20170619'),
]

preconfigopts = './autogen.sh && '

sanity_check_paths = {
    'files': ['share/pkgconfig/xorg-macros.pc'],
    'dirs': [],
}

moduleclass = 'devel'
