ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/pdb2pqr/configure
(Generate patch)
# Line 15 | Line 15
15   echo "Will install into " $FREEMOL
16   export PDB2PQR_VERSION=pdb2pqr-1.3.0
17  
18 < echo "PDB2PQR_SRC=src/$PDB2PQR_VERSION" > Makefile
19 < cat Makefile.in >>Makefile
20 <
21 < cd src
22 < tar zxf ${PDB2PQR_VERSION}-src.tar.gz
18 > (cd src; tar zxf ${PDB2PQR_VERSION}-src.tar.gz)
19  
20   case "$OSTYPE" in
21   linux*)
22          #echo "linux"
23 +        INSTALL="install -D"
24          ;;
25   darwin*)
26          #echo "darwin"
27 +        INSTALL="install"
28          ;;
29   mingw*)
30          #echo "mingw"
31 +        INSTALL="install -D"
32          ;;
33   msys*)
34          #echo "msys"
35 <        cp Makefile.in.mingw $PDB2PQR_VERSION/Makefile.in
36 <        cp configure.mingw $PDB2PQR_VERSION/configure
35 >        INSTALL="install -D"
36 >        cp src/Makefile.in.mingw $PDB2PQR_VERSION/Makefile.in
37 >        cp src/configure.mingw $PDB2PQR_VERSION/configure
38          if [ -e c:/python25/python.exe ] ; then
39            pythonpath=--with-python="/c/python25/python"
40          fi
41          ;;
42   cygwin*)
43          #echo "cygwin"
44 +        INSTALL="install -D"
45          ;;
46   esac
47  
48 < cd $PDB2PQR_VERSION
48 > echo "PDB2PQR_SRC=src/$PDB2PQR_VERSION" > Makefile
49 > echo "INSTALL=$INSTALL" >> Makefile
50 > cat Makefile.in >>Makefile
51 >
52 > cd src/$PDB2PQR_VERSION
53   ./configure --prefix=${FREEMOL}/share/pdb2pqr --disable-propka --disable-pdb2pka $pythonpath

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines