Pre-agrees the CCP4 licence via .agree2ccp4v6 so BINARY.setup never prompts. Download via urls: with unpacker: none (untar once into PREFIX, BINARY.setup patches paths at final location). Build tmp and download cache go to /das/work/p21/p21515/.cache/Pmodules through ~/.Pmodules/Pmodules.yaml (see README) since /var/tmp and the home quota are too small for the ~5 GB tarball. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
20 lines
791 B
Plaintext
20 lines
791 B
Plaintext
#%Module1.0
|
|
|
|
module-whatis "CCP4: software suite for macromolecular X-ray crystallography"
|
|
module-url "https://www.ccp4.ac.uk/"
|
|
module-license "CCP4 licence; bundled SHELX and ARP/wARP need their own academic registration"
|
|
module-maintainer "Jiaxin Duan <jiaxin.duan@psi.ch>"
|
|
|
|
module-help "
|
|
CCP4 suite (binary distribution bundled with SHELX and ARP/wARP) for
|
|
macromolecular crystallography: data processing, phasing, model building
|
|
and refinement (refmac5, ccp4i2, coot, shelx, arp/warp, ...).
|
|
|
|
Loading this module sources ccp4.setup-sh, which sets CCP4, CBIN,
|
|
CCP4_SCR and PATH.
|
|
"
|
|
|
|
# build's install() leaves a version-independent 'ccp4' symlink next to
|
|
# ccp4-<major.minor>, so this line survives 9.0.xxx updates
|
|
puts stdout "source $PREFIX/ccp4/bin/ccp4.setup-sh;"
|