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>
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/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"
|
||||
}
|
||||
Reference in New Issue
Block a user