easyconfigs-it4i/g/GLib/GLib-2.57.1.eb
2019-11-06 13:27:39 +01:00

44 lines
1.0 KiB
Plaintext

# IT4Innovations 2018
easyblock = 'ConfigureMake'
name = 'GLib'
version = '2.57.1'
homepage = 'http://www.gtk.org/'
description = """GLib is one of the base libraries of the GTK+ project"""
toolchain = 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.8.1'),
# ('libxml2', '2.9.4'),
('PCRE', '8.42'),
('util-linux', '2.32'),
]
builddependencies = [('Python', '2.7.13')]
configopts = "--disable-maintainer-mode --disable-silent-rules --disable-libelf --disable-systemtap "
configopts += "--enable-static --enable-shared"
postinstallcmds = [
"sed -i -e 's|#!.*python|#!/usr/bin/env python|' %(installdir)s/bin/*"]
sanity_check_paths = {
'files': [
'lib/libglib-%(version_major)s.0.a',
'lib/libglib-%%(version_major)s.0.%s' %
SHLIB_EXT],
'dirs': [
'bin',
'include'],
}
moduleclass = 'vis'