easyblock = 'ConfigureMake'

name = 'libpciaccess'
version = '0.13.1'

homepage = 'http://cgit.freedesktop.org/xorg/lib/libpciaccess/'
description = """Generic PCI access library."""

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

source_urls = ['https://www.x.org/releases/individual/lib/']
sources = [SOURCE_TAR_GZ]
checksums = ['8641a3ce37c97a6b28439d4630adb9583d8bd3e3a08c2040aa81f9932a7a76f6']

builddependencies = [
    ('Autoconf', '2.69'),
    ('xorg-macros', '1.17'),
]

sanity_check_paths = {
    'files': ['include/pciaccess.h', 'lib/libpciaccess.a'],
    'dirs': ['lib/pkgconfig'],
}

moduleclass = 'system'
