easyblock = 'ConfigureMake'

name = 'GLib'
version = '2.40.0'

homepage = 'http://www.gtk.org/'
description = """GLib is one of the base libraries of the GTK+ project"""

toolchain = {'name': 'GCC', 'version': '4.4.7-system'}
toolchainopts = {'optarch': True, 'pic': True}

source_urls = [
    'http://ftp.gnome.org/pub/gnome/sources/glib/%(version_major_minor)s/']
sources = ['glib-%(version)s.tar.xz']

dependencies = [
    ('libffi', '3.2.1'),
    ('gettext', '0.19.4'),
    ('libxml2', '2.9.2'),
]

moduleclass = 'vis'