ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/apbs/configure
(Generate patch)
# Line 8 | Line 8
8   fi
9  
10   echo "Will install into " $FREEMOL
11 < export APBS_VERSION=apbs-1.2
11 > APBS_VERSION=APBS-1.4
12 > tarfile=${APBS_VERSION}-source.tar.gz
13  
14 < export APBS_SRC=${PWD}/src/${APBS_VERSION}-source
15 < export APBS_PREFIX=${FREEMOL}
14 > APBS_SRC=${PWD}/src/apbs
15 > APBS_BLD=${PWD}/build
16  
17   echo "APBS_SRC=$APBS_SRC" > Makefile
18 + echo "APBS_BLD=$APBS_BLD" >> Makefile
19 + echo "FREEMOL=$FREEMOL" >> Makefile
20   cat Makefile.in >>Makefile
21  
22   cd src
23 < tar zxf ${APBS_VERSION}-source.tar.gz
24 < cd $APBS_SRC
25 < ./configure --prefix=${APBS_PREFIX}
23 >
24 > if [ ! -e $tarfile ]; then
25 >    echo "Please download $tarfile from"
26 >    echo
27 >    echo "    http://www.poissonboltzmann.org/apbs"
28 >    echo
29 >    echo "and put it into"
30 >    echo
31 >    echo "    $PWD"
32 >    echo
33 >    exit 1
34 > fi
35 >
36 > tar zxf $tarfile
37 >
38 > install -d $APBS_BLD
39 > cd $APBS_BLD
40 > cmake -DCMAKE_INSTALL_PREFIX=${FREEMOL} $APBS_SRC

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines