easyblock = 'ConfigureMake'

name = 'libXp'
version = '1.0.2'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """libXp provides the X print library."""

toolchain = {'name': 'ictce', 'version': '5.3.0'}
toolchainopts = {'optarch': True}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_LIB_SOURCE]

builddependencies = [
    ('xextproto', '7.2.1'),
    ('printproto', '1.0.5'),
]

dependencies = [
    ('libX11', '1.6.1'),
    ('libXext', '1.3.2'),
    ('libXau', '1.0.8'),
]
sanity_check_paths = {
    'files': ['lib/%s' % x for x in ['libXp.a', 'libXp.%s' % SHLIB_EXT]],
    'dirs': [],
}

moduleclass = 'vis'
