ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/pdb2pqr/configure
Revision: 54
Committed: Mon Sep 29 23:37:10 2008 UTC (10 years, 9 months ago) by tjod
File size: 996 byte(s)
Log Message:
changes for mingw

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 echo "PDB2PQR_SRC=src/$PDB2PQR_VERSION" > Makefile
19 cat Makefile.in >>Makefile
20
21 cd src
22 tar zxf ${PDB2PQR_VERSION}-src.tar.gz
23
24 case "$OSTYPE" in
25 linux*)
26 #echo "linux"
27 ;;
28 darwin*)
29 #echo "darwin"
30 ;;
31 mingw*)
32 #echo "mingw"
33 ;;
34 msys*)
35 #echo "msys"
36 cp Makefile.in.mingw $PDB2PQR_VERSION/Makefile.in
37 cp 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 ;;
45 esac
46
47 cd $PDB2PQR_VERSION
48 echo ./configure --prefix=${FREEMOL}/share/pdb2pqr --disable-propka --disable-pdb2pka $pythonpath
49 ./configure --prefix=${FREEMOL}/share/pdb2pqr --disable-propka --disable-pdb2pka $pythonpath

Properties

Name Value
svn:executable *