# Built with EasyBuild version 2.5.0 on 2016-01-18_10-07-09
easyblock = 'ConfigureMake'

name = 'libpciaccess'
version = '0.13.1'

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

source_urls = ['http://cgit.freedesktop.org/xorg/lib/libpciaccess/snapshot']
sources = [SOURCE_TAR_GZ]

toolchain = {'name': 'dummy', 'version': ''}

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

preconfigopts = "ACLOCAL='aclocal -I $EBROOTXORGMINMACROS/share/aclocal' ./autogen.sh && "

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

moduleclass = 'system'

