name = 'Mono'
version = '2.10.6'

homepage = 'http://mono-framework.com'
description = """An open source, cross-platform, implementation of C# and the CLR that is
 binary compatible with Microsoft.NET."""

toolchain = {'name': 'intel', 'version': '2016b'}

# Mono required Mono to build, so there are a couple of options:
# 1) provide Mono RPMs in sources, the Mono easyblock will use them to make a tmp Mono install
# 2) assume a Mono version is available system-wide (assert using e.g. "osdependencies = ['mono-core']")
# 3) specify an already available Mono module as build dep, e.g.
# "builddependencies = [('Mono', '2.10.6')]

source_urls = ['http://download.mono-project.com/sources/mono/']
sources = [
    SOURCELOWER_TAR_BZ2,
    # Mono requires Mono to build, so provide RPMs so Mono can be bootstrapped
    'libgdiplus-2.4.2-2.el5.kb.x86_64.rpm',
    'mono-core-2.4.2.3-2.el5.kb.x86_64.rpm',
]

builddependencies = [
    ('Bison', '3.0.4'),
    ('gettext', '0.19.8'),
]

moduleclass = 'lang'
