From 4897ae7dcb1ba8e332a860add23ca6e29794083e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20L=C3=BChrs?= <s.luehrs@fz-juelich.de> Date: Thu, 17 Mar 2022 13:26:53 +0100 Subject: [PATCH] add HDFView --- .../h/HDFView/HDFView-3.1.3-GCCcore-11.2.0.eb | 31 +++++++++++++++++++ acls.yml | 3 ++ 2 files changed, 34 insertions(+) create mode 100644 Golden_Repo/h/HDFView/HDFView-3.1.3-GCCcore-11.2.0.eb diff --git a/Golden_Repo/h/HDFView/HDFView-3.1.3-GCCcore-11.2.0.eb b/Golden_Repo/h/HDFView/HDFView-3.1.3-GCCcore-11.2.0.eb new file mode 100644 index 000000000..883edc6a1 --- /dev/null +++ b/Golden_Repo/h/HDFView/HDFView-3.1.3-GCCcore-11.2.0.eb @@ -0,0 +1,31 @@ +easyblock = 'Binary' + +name = 'HDFView' +version = '3.1.3' + +homepage = 'https://www.hdfgroup.org/downloads/hdfview/' +description = "HDFView is a visual tool for browsing and editing HDF4 and HDF5 files." + +toolchain = {'name': 'GCCcore', 'version': '11.2.0'} + +source_urls = ['https://support.hdfgroup.org/ftp/HDF5/releases/HDF-JAVA/hdfview-%(version)s/bin/'] +sources = ['HDFViewApp-%(version)s-centos8_64.tar.gz'] +checksums = ['e60976ba816afc426bc3bc7a151b6f2e208605711e9bc9bf188ef14771faa4c7'] + +dependencies = [ + ('Java', '15', '', SYSTEM) +] + +install_cmd = "tar xfvz *.tar.gz && " +install_cmd += "mkdir %(installdir)s/lib && mkdir %(installdir)s/bin && " +install_cmd += "cp -a HDFView/lib/app %(installdir)s/lib && " +install_cmd += "cp -a HDFView/lib/app/hdfview.sh %(installdir)s/bin/HDFView && " +install_cmd += 'sed -i "s@export JAVABIN=.*@export JAVABIN=$EBROOTJAVA/bin@g" %(installdir)s/bin/HDFView && ' +install_cmd += 'sed -i "s@export INSTALLDIR=.*@export INSTALLDIR=%(installdir)s@g" %(installdir)s/bin/HDFView' + +sanity_check_paths = { + 'files': ['bin/HDFView'], + 'dirs': ['lib/app'], +} + +moduleclass = 'vis' diff --git a/acls.yml b/acls.yml index b0099acb1..3a410370c 100644 --- a/acls.yml +++ b/acls.yml @@ -1075,3 +1075,6 @@ software: - name: 'AMD-uProf' owner: 'zhukov1' base: True + - name: 'HDFView' + owner: 'luehrs2' + base: True -- GitLab