Files
MX_Pmodule/Tools/datacatalog/build
Spencer Bliven c2c925856c Release datacatalog 2.2.1
Features:
- SciCat GUI works on RHEL8
- Updates download URL and untar procedure
2024-06-03 10:42:46 +02:00

23 lines
575 B
Plaintext
Executable File

#!/usr/bin/env modbuild
pbuild::add_to_group 'Tools'
pbuild::set_download_url https://github.com/paulscherrerinstitute/scicat-cli/releases/download/v${V_PKG}/scicat-cli_v${V_PKG}_Linux_x86_64.tar.gz
pbuild::configure() {
:
}
pbuild::compile() {
:
}
pbuild::install() {
mkdir -p "$PREFIX/bin"
cp $SRC_DIR/dataset{Ingestor,Retriever,Archiver} "$PREFIX/bin"
# Hardcoded; could be made version-specific in the future if needed
ln -s "${PMODULES_ROOT}/Programming/anaconda/2019.07/conda/envs/scicat_client-0.1.0/bin/scicat_client" "$PREFIX/bin/scicat_client"
}