easyblock = 'RPackage'

name = 'fmri'
version = '1.4-8'

homepage = 'http://cran.r-project.org/web/packages/fmri'
description = """The package contains R-functions to perform an fmri analysis as described in K. Tabelow,
 J. Polzehl, H.U. Voss, and V. Spokoiny, Analysing fMRI experiments with structure adaptive smoothing procedures,
 NeuroImage, 33:55-62 (2006) and J. Polzehl, H.U. Voss, K. Tabelow, Structural adaptive segmentation for statistical
 parametric mapping, NeuroImage, 52:515-523 (2010)."""

toolchain = {'name': 'ictce', 'version': '4.0.10'}

source_urls = ['http://cran.r-project.org/src/contrib/']
sources = ['%(name)s_%(version)s.tar.gz']

r = 'R'
rver = '2.15.2'
versionsuffix = '-%s-%s' % (r, rver)

tcltkver = '8.5.12'

dependencies = [
    (r, rver),
    ('Tcl', tcltkver),
    ('Tk', tcltkver),
]

sanity_check_paths = {
    'files': [],
    'dirs': ['fmri'],
}

moduleclass = 'math'
