archie/build.sh
2024-05-27 16:23:06 +02:00

52 lines
1.2 KiB
Bash
Executable File

#!/usr/tgcware/bin/bash
WORLD_ROOT=${PWD}
ARCHIE_ROOT="${WORLD_ROOT}/archie"
PROSPERO_ROOT="${WORLD_ROOT}/prospero"
BERKDB_ROOT="${WORLD_ROOT}/berkdb"
TCL_ROOT="${WORLD_ROOT}/tcl7.3"
TCLDP_ROOT="${WORLD_ROOT}/tcl-dp/unix"
TK_ROOT="${WORLD_ROOT}/tk3.6"
SOLOS=$(uname -s)
SOLVER=$(uname -r)
SYSTYPE="${SOLOS}-${SOLVER}"
DISTDIR="${WORLD_ROOT}/dist"
export ARCHIE_ROOT=${ARCHIE_ROOT}
export PROSPERO_ROOT=${PROSPERO_ROOT}
export BERKDB_ROOT=${BERKDB_ROOT}
export TCL_ROOT=${TCL_ROOT}
export TCLDP_ROOT=${TCLDP_ROOT}
export TK_ROOT=${TK_ROOT}
export SYSTYPE=${SYSTYPE}
export DISTDIR=${DISTDIR}
mkdir -p ${DISTDIR}/bin
echo " Build Root : ${WORLD_ROOT}"
echo " Archie Root : ${ARCHIE_ROOT}"
echo " Prospero Root : ${PROSPERO_ROOT}"
echo " Berkeley DB Root: ${BERKDB_ROOT}"
echo " Tcl Root : ${TCL_ROOT}"
echo " Tcl DP Root : ${TCLDP_ROOT}"
echo " Tk Root : ${TK_ROOT}"
echo " System Type : ${SYSTYPE}"
echo " Dist Dir : ${DISTDIR}"
cd ${TCL_ROOT}
./configure --prefix=${DISTDIR}
make install
cd ${WORLD_ROOT}
cd ${TK_ROOT}
./configure --prefix=${DISTDIR}
make install
cd ${WORLD_ROOT}
cd ${TCLDP_ROOT}
./configure --prefix=${DISTDIR}
make install
cd ${WORLD_ROOT}