conflict in trilinos/build resolved
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
declare -r bindir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
exec "${bindir}/../libexec/hdfview.sh" 1> /dev/null 2>&1 &
|
||||
@@ -0,0 +1,40 @@
|
||||
# Build HDFView module
|
||||
|
||||
## Notations
|
||||
|
||||
Please read [this document](https://gitlab.psi.ch/Pmodules/documentation/wikis/Development/Notations) for commonly used notations and environment variables.
|
||||
|
||||
## Setup environment
|
||||
|
||||
Set
|
||||
1. `GRP='Tools'`
|
||||
2. `P=HDFView`
|
||||
3. `V` to the HDFView version to install
|
||||
4. `PREFIX=$PMODULES_ROOT/$GRP/$P/$V`
|
||||
5. `BUILDBLOCK_DIR` to the directory of this file.
|
||||
6. `MODULEFILES_DIR=$PMODULES_ROOT/$GRP/modulefiles`.
|
||||
7. `RELEASE` to the release of the module
|
||||
|
||||
## Download
|
||||
|
||||
Download the package from https://www.hdfgroup.org/downloads/hdfview/. The compressed tar-file contains a shell-script installer.
|
||||
|
||||
## Install the package
|
||||
|
||||
1. Unpack the downloaded tar-file
|
||||
2. `cd "$PMODULES_ROOT/Tools"`.
|
||||
3. Run the installer script
|
||||
4. Accept the license
|
||||
5. Answer 'no' to the question "Do you want to include the subdirectory HDFView-$V-Linux?"
|
||||
6. HDFView will be installed into `$PREFIX`
|
||||
|
||||
## Post-install
|
||||
|
||||
1. `mkdir "$PREFIX"/{bin,libexec}`
|
||||
1. `mv "$PREFIX/hdfview.sh" "$PREFIX/libexec"`
|
||||
2. `install --mode 0755 "$BUILDBLOCK_DIR/HDFView" "$PREFIX/bin"`
|
||||
|
||||
## Install files for Pmodules
|
||||
|
||||
1. `install --mode 0644 "$BUILDBLOCK_DIR/modulefile" "$MODULEFILES_DIR/$P/$V"`
|
||||
2. `echo "$RELEASE" > "$MODULEFILES_DIR/$P/.release-$V"`
|
||||
@@ -0,0 +1,20 @@
|
||||
#%Module1.0
|
||||
|
||||
module-whatis "viewer for HDF files"
|
||||
module-url "https://www.hdfgroup.org/downloads/hdfview/"
|
||||
module-license "see \$HDFVIEW_DIR/share/doc/COPYING"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
module-help "
|
||||
HDFView is a visual tool written in Java for browsing and editing HDF
|
||||
(HDF5 and HDF4) files. Using HDFView, you can:
|
||||
|
||||
- View a file hierarchy in a tree structure
|
||||
- Create new files, add or delete groups and datasets
|
||||
- View and modify the content of a dataset
|
||||
- Add, delete and modify attributes
|
||||
|
||||
HDFView uses the Java HDF Object Package, which implements HDF4 and HDF5
|
||||
data objects in an object-oriented form.
|
||||
"
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
gnuplot/5.0.4 unstable
|
||||
gnuplot/4.6.3 stable
|
||||
gnuplot/5.0.0 stable
|
||||
gnuplot/5.2.0 stable
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
SOURCE_URL="https://sourceforge.net/projects/gnuplot/files/$P/$V/$P-$V.tar.gz"
|
||||
|
||||
pbuild::configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
|
||||
Reference in New Issue
Block a user