forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: AladinDesktop-12.060-Java-17.eb
- Loading branch information
casparl
committed
Nov 7, 2024
1 parent
4f2a53b
commit ab7587c
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
easybuild/easyconfigs/a/AladinDesktop/AladinDesktop-12.060-Java-17.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
easyblock = 'Binary' | ||
|
||
name = 'AladinDesktop' | ||
version = '12.060' | ||
versionsuffix = '-Java-%(javaver)s' | ||
|
||
homepage = 'https://aladin.cds.unistra.fr/AladinDesktop/' | ||
description = """Aladin Desktop is the main application of the Aladin Sky Atlas suite. | ||
This application allows the user to visualize and manipulate digitized astronomical images | ||
or full surveys, superimpose entries from astronomical catalogues or databases, and interactively | ||
access related data and information from the Simbad database, the VizieR service and other | ||
archives for all known astronomical objects in the field.""" | ||
|
||
toolchain = SYSTEM | ||
|
||
# For some reason, only the first digit after the dot is included in the download URL | ||
local_maj_min_version = version.split('.') | ||
local_url_version = local_maj_min_version[0] + '.' + local_maj_min_version[1][0] | ||
local_jarname = 'Aladin%s.jar' % local_url_version | ||
source_urls = ['https://aladin.cds.unistra.fr/java/'] | ||
sources = [local_jarname, 'Aladin'] | ||
extract_sources = False | ||
|
||
dependencies = [('Java', '17')] | ||
|
||
install_cmds = [ | ||
'mkdir -p %%(installdir)s/lib && cp %s %%(installdir)s/lib/' % local_jarname, | ||
'mkdir -p %(installdir)s/bin && cp Aladin %(installdir)s/bin/', | ||
'ln -s %%(installdir)s/lib/%s %%(installdir)s/bin/Aladin.jar' % local_jarname | ||
] | ||
|
||
#files_to_copy = [('local_jarname', 'lib'), ('Aladin', 'bin')] | ||
|
||
# The shell script Aladin expects there to be a Aladin.jar in the same dir | ||
# postinstallcmds = ['ln -s lib/%s bin/Aladin.jar'] | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/Aladin', 'bin/Aladin.jar', 'lib/%s' % local_jarname], | ||
'dirs': [], | ||
} | ||
|
||
moduleclass = 'tools' |