easyblock = 'ConfigureMake'

name = 'libXpm'
version = '3.5.11'

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

toolchain = {'name': 'goolf', 'version': '1.5.14'}
toolchainopts = {'optarch': True}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_LIB_SOURCE]

builddependencies = [('gettext', '0.18.2')]

sanity_check_paths = {
    'files': ['lib/%s' % x for x in ['libXpm.a', 'libXpm.%s' % SHLIB_EXT]],
    'dirs': [],
}

moduleclass = 'vis'
