Files
duan_jandClaude Fable 5 9946b945d1 add autoPROC pmodule
Scaffold the standard 4-file Pmodule for autoPROC (Global Phasing Ltd.):
build, modulefile, files/config.yaml, README.md. The PSI licence token
(autoPROC/.licence) already existed and is installed into the software tree
at build time.

Follows the phenix archetype for the licence-gated install: the snapshot
tarball cannot be wget'd (download needs credentials), so it is staged by
hand in the module dir as autoPROC_snapshot_<date>.tar.gz and unpacked into
PREFIX with --strip-components=1 (xds pattern). Runtime is activated by
sourcing setup.sh via the modulefile.

CCP4 8.0 and XDS are wired as runtime_deps (xds from this repo; ccp4 is a
site module placeholder to confirm with `module avail ccp4`). Adds a
.gitignore guard so the proprietary snapshot is never committed.

Not built locally - to be tested on Ra.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 18:25:29 +02:00

21 lines
637 B
Python
Executable File

#!/usr/bin/env modbuild
pbuild::prep() { :; }
pbuild::configure() { :; }
pbuild::compile() { :; }
pbuild::install() {
# autoPROC is licence-gated: the Global Phasing snapshot cannot be wget'd
# (download needs credentials), so stage it in this module dir first as
# autoPROC_snapshot_<version>.tar.gz, then unpack into $PREFIX. Not committed to git.
mkdir -p "${PREFIX}"
cd "${PREFIX}"
tar -xf "${BUILDBLOCK_DIR}/autoPROC_snapshot_${V}.tar.gz" --strip-components=1
# Install the PSI licence token at the software home so autoPROC is activated.
cp "${BUILDBLOCK_DIR}/.licence" "${PREFIX}/.licence"
}