-
Notifications
You must be signed in to change notification settings - Fork 718
/
Copy pathFiji-2.9.0-Java-8.eb
49 lines (40 loc) · 1.84 KB
/
Fiji-2.9.0-Java-8.eb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
easyblock = 'PackedBinary'
name = 'Fiji'
version = '2.9.0'
versionsuffix = '-Java-%(javaver)s'
homepage = 'https://fiji.sc'
description = """Fiji is an image processing package—a 'batteries-included' distribution of
ImageJ, bundling a lot of plugins which facilitate scientific image analysis.
This release is based on ImageJ-2.1.0 and Fiji-2.1.1"""
toolchain = SYSTEM
source_urls = ['https://downloads.imagej.net/fiji/releases/%(version)s/']
sources = ['fiji-%(version)s-nojre.zip']
checksums = ['970fb80cf2a4fe8bfcecc2cc9a8617b9ab28f19fbe229ea6ae2f7f42674c8a42']
dependencies = [('Java', '8', '', SYSTEM)]
postinstallcmds = [
# Remove binaries for other platforms
'rm %(installdir)s/{ImageJ-win32.exe,ImageJ-win64.exe}',
# Enable any update site (edit existing site with same parameters to enable it)
# Full list at https://imagej.github.io/list-of-update-sites/
'%(installdir)s/ImageJ-linux64 --headless --update edit-update-site "ImageScience"'
' https://sites.imagej.net/ImageScience/',
'%(installdir)s/ImageJ-linux64 --headless --update edit-update-site "3D ImageJ Suite"'
' https://sites.imagej.net/Tboudier/',
'%(installdir)s/ImageJ-linux64 --headless --update edit-update-site "ilastik"'
' https://sites.imagej.net/Ilastik/',
# Add a new update site
# '%(installdir)s/ImageJ-linux64 --headless --update add-update-site "New Name"'
# ' https://site.url/NewName/',
# Update the installation
'%(installdir)s/ImageJ-linux64 --headless --update update',
]
sanity_check_paths = {
'files': ['ImageJ-linux64'],
'dirs': [],
}
modloadmsg = """
Additional plugins can be installed in your $HOME/.plugins folder or requested to user support
Use ImageJ/Fiji in headless mode in your scripts with the command `ImageJ-linux64 --headless`
More information at https://imagej.net/Headless
"""
moduleclass = 'vis'