40 lines
964 B
Bash
Executable File
40 lines
964 B
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"
|
|
TK_ROOT="${WORLD_ROOT}/tk3.6"
|
|
SOLOS=$(uname -s)
|
|
SOLVER=$(uname -r)
|
|
SYSTYPE="${SOLOS}-${SOLVER}"
|
|
|
|
DISTDIR="${WORLD_ROOT}/dist"
|
|
|
|
export ${ARCHIE_ROOT}
|
|
export ${PROSPERO_ROOT}
|
|
export ${BERKDB_ROOT}
|
|
export ${TCL_ROOT}
|
|
export ${TCLDP_ROOT}
|
|
export ${TK_ROOT}
|
|
export ${SYSTYPE}
|
|
export ${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} |