GLib-2.57.1.eb 1.04 KB
Newer Older
1 2 3 4
# IT4Innovations 2018
easyblock = 'ConfigureMake'

name = 'GLib'
5
version = '2.57.1'
6 7 8 9

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

easybuild's avatar
easybuild committed
10
toolchain = SYSTEM
11 12
toolchainopts = {'optarch': True, 'pic': True}

Lukáš Krupčík's avatar
Lukáš Krupčík committed
13 14
source_urls = [
    'http://ftp.gnome.org/pub/gnome/sources/glib/%(version_major_minor)s/']
15 16 17
sources = ['glib-%(version)s.tar.xz']

dependencies = [
18
    ('libffi', '3.2.1'),
Lukáš Krupčík's avatar
Lukáš Krupčík committed
19 20
    #    ('gettext', '0.19.8.1'),
    #    ('libxml2', '2.9.4'),
21 22
    ('PCRE', '8.42'),
    ('util-linux', '2.32'),
23 24
]

25
builddependencies = [('Python', '2.7.13')]
26 27 28 29

configopts = "--disable-maintainer-mode --disable-silent-rules --disable-libelf --disable-systemtap "
configopts += "--enable-static --enable-shared"

Lukáš Krupčík's avatar
Lukáš Krupčík committed
30 31
postinstallcmds = [
    "sed -i -e 's|#!.*python|#!/usr/bin/env python|' %(installdir)s/bin/*"]
32 33

sanity_check_paths = {
Lukáš Krupčík's avatar
Lukáš Krupčík committed
34 35 36 37 38 39 40
    'files': [
        'lib/libglib-%(version_major)s.0.a',
        'lib/libglib-%%(version_major)s.0.%s' %
        SHLIB_EXT],
    'dirs': [
        'bin',
        'include'],
41 42 43
}

moduleclass = 'vis'