summaryrefslogtreecommitdiffstats
path: root/cluster/xpvm/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/xpvm/BUILD')
-rwxr-xr-xcluster/xpvm/BUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/cluster/xpvm/BUILD b/cluster/xpvm/BUILD
new file mode 100755
index 0000000000..9ba71359d5
--- /dev/null
+++ b/cluster/xpvm/BUILD
@@ -0,0 +1,20 @@
+(
+ export XPVM_HOME=/usr/share/xpvm &&
+ export XPVM_SRC=$SOURCE_DIRECTORY &&
+ export XPVM_ROOT=$XPVM_SRC &&
+ export PVM_ROOT=/usr/share/pvm &&
+ export PVM_ARCH=`pvmgetarch` &&
+ patch -p1 < $SCRIPT_DIRECTORY/xpvm-1.2.5.patch &&
+ make &&
+ install -d ${XPVM_HOME}/lib/${PVM_ARCH} &&
+ install -m 755 ${XPVM_SRC}/src/${PVM_ARCH}/xpvm ${XPVM_HOME}/lib/${PVM_ARCH} &&
+ for file in ${XPVM_SRC}/*.tcl; do \
+ install -m 644 $file ${XPVM_HOME}; \
+ done &&
+ install -d ${XPVM_HOME}/xbm &&
+ install -m 644 ${XPVM_SRC}/src/xbm/* ${XPVM_HOME}/xbm &&
+ install -d ${XPVM_HOME}/help &&
+ install -m 644 ${XPVM_SRC}/src/help/* ${XPVM_HOME}/help
+
+) > $C_FIFO 2>&1
+