ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/pdb2pqr/configure
Revision: 130
Committed: Mon Jun 22 22:37:53 2009 UTC (10 years ago) by wdelano
File size: 1106 byte(s)
Log Message:
Line File contents
1 #!/bin/sh
2
3 # would do any platform-specific configuration here...
4
5 if [ -z "$OSTYPE" ]; then
6 OSTYPE=`uname -s`
7 fi
8
9
10 if ! [ $FREEMOL ]; then
11 echo "FREEMOL variable must be defined"
12 exit
13 fi
14
15 echo "Will install into " $FREEMOL
16 export PDB2PQR_VERSION=pdb2pqr-1.4.0
17
18 (cd src; tar zxf ${PDB2PQR_VERSION}-src.tar.gz)
19
20 echo "OS=$OSTYPE"
21 case "$OSTYPE" in
22 *inux*)
23 #echo "linux"
24 INSTALL="install -D"
25 ;;
26 darwin*)
27 #echo "darwin"
28 INSTALL="install"
29 ;;
30 mingw*)
31 #echo "mingw"
32 INSTALL="install -D"
33 ;;
34 msys*)
35 #echo "msys"
36 INSTALL="install -D"
37 cp src/Makefile.in.mingw src/$PDB2PQR_VERSION/Makefile.in
38 cp src/configure.mingw src/$PDB2PQR_VERSION/configure
39 if [ -e c:/python25/python.exe ] ; then
40 pythonpath=--with-python="/c/python25/python"
41 fi
42 ;;
43 cygwin*)
44 #echo "cygwin"
45 INSTALL="install -D"
46 ;;
47 esac
48
49 echo "INSTALL=$INSTALL"
50 echo "PDB2PQR_SRC=src/$PDB2PQR_VERSION" > Makefile
51 echo "INSTALL=$INSTALL" >> Makefile
52 cat Makefile.in >>Makefile
53
54 cd src/$PDB2PQR_VERSION
55 ./configure --prefix=${FREEMOL}/share/pdb2pqr --disable-propka --disable-pdb2pka $pythonpath

Properties

Name Value
svn:executable *