ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/pdb2pqr/configure
Revision: 56
Committed: Tue Sep 30 00:40:05 2008 UTC (12 years, 1 month ago) by tjod
File size: 1056 byte(s)
Log Message:
osx doesn't like install -D, but mingw and linux need -D (for licenses/ file)

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.3.0
17
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 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 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

Properties

Name Value
svn:executable *