Files
MX_Pmodule/pymol/build
2024-05-27 10:39:19 +02:00

24 lines
496 B
Plaintext
Executable File

#!/usr/bin/env modbuild
pbuild::prep() {
git clone --depth 1 --branch "v${V_PKG}" https://github.com/schrodinger/pymol-open-source.git
}
pbuild::configure() {
#NEEDS GML
git clone -b 0.9.9.8 https://github.com/g-truc/glm.git $SRC_DIR/glm/
cp -r $SRC_DIR/glm/glm/ $SRC_DIR/pymol-open-source/include/
}
pbuild::compile() {
cd "$SRC_DIR/pymol-open-source/"
python3 setup.py install --prefix "$PREFIX/" --no-vmd-plugins --use-msgpackc=no
}
pbuild::install(){
:
}