easyblock = 'ConfigureMake'

name = 'libpciaccess'
version = '0.13.4'

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

toolchain = {'name': 'foss', 'version': '2016a'}

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

builddependencies = [
    ('Autotools', '20150215'),
    ('xorg-macros', '1.19.0'),
]

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

moduleclass = 'system'
