From 3d1aae045248de4553c0f91f5deea40837950e7f Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 15 May 2006 08:12:09 +0000 Subject: [PATCH] Remove obsolete files --- config_files/HappyDoc-r2_1.sh | 114 ---------------------------------- config_files/netgen-4.3.sh | 93 --------------------------- 2 files changed, 207 deletions(-) delete mode 100755 config_files/HappyDoc-r2_1.sh delete mode 100755 config_files/netgen-4.3.sh diff --git a/config_files/HappyDoc-r2_1.sh b/config_files/HappyDoc-r2_1.sh deleted file mode 100755 index 03ad524..0000000 --- a/config_files/HappyDoc-r2_1.sh +++ /dev/null @@ -1,114 +0,0 @@ -#!/bin/sh - -check_version(){ -check_lib_version happydoc $PATH -if [ "$?" -ne "0" ]; then - return 1 -fi -happydoc 2&> /dev/null -if [ "$?" -eq "0" ]; then - ver=`happydoc | grep "HappyDoc version 2.1" | sort -u | awk '{print $NF}'` - if [ "$ver" == "2.1" ]; then - return 0 - fi -fi -return 1 -} - -print_env(){ -cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/try_native.py </dev/null` - pythonpath=`dirname $pythonpath` - pythonpath=`dirname $pythonpath` - tmp="${pythonpath} ${pythonpath} \${PYTHONPATH} ${PYTHONPATH}"; - pythonpath=`sort_path ${tmp}` - cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${file_pth} < ${PRODUCT_DIR}/size.log -cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK} -print_env -} - -install_binary() -{ -make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} -source ${INSTALL_WORK}/$SHRC - -check_jb tar xfz ${SOURCE_DIR}/HappyDoc-r2_1.tar.gz -C ${INSTALL_ROOT} - -print_env -} - -export PROCEDURE=$1; -export INSTALL_WORK=$2; -export SOURCE_DIR=$3; -export INSTALL_ROOT=$4; -export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="happydoc" ; fi -export PRODUCT="HappyDoc-r2_1" -export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} -export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} -source ./common.sh -$PROCEDURE diff --git a/config_files/netgen-4.3.sh b/config_files/netgen-4.3.sh deleted file mode 100755 index c89e14a..0000000 --- a/config_files/netgen-4.3.sh +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh - -check_version() -{ -# check existance of netgen -# unfortunarely we can't find anything about netgen version -if [ -n "$NETGENROOT" ]; then - return 0 -fi -return 1 -} - -print_env() -{ -cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < /dev/null) - -for directory in csg general geom2d gprim interface linalg meshing opti stlgeom ; do - cd ${PRODUCT_WORK}/libsrc/${directory} - check_job ${PRODUCT_DIR}/MAKE.LOG make -done - -mkdir -p ${PRODUCT_DIR}/lib/LINUX -cp -f ${PRODUCT_WORK}/lib/LINUX/* ${PRODUCT_DIR}/lib/LINUX -mkdir -p ${PRODUCT_DIR}/include -cp -f ${PRODUCT_WORK}/libsrc/interface/nglib.h ${PRODUCT_DIR}/include - -#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log -cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK} -print_env -} - -install_binary() -{ -make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} -source ${INSTALL_WORK}/$SHRC - -check_jb tar xfz ${SOURCE_DIR}/netgen-4.3.tar.gz -C ${INSTALL_ROOT} - -print_env -} - -export PROCEDURE=$1; -export INSTALL_WORK=$2; -export SOURCE_DIR=$3; -export INSTALL_ROOT=$4; -export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="netgen" ; fi -export PRODUCT="netgen-4.3" -export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} -export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} -source ./common.sh -$PROCEDURE -- 2.39.2