summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar snowdrop2005-07-22 08:55:46 +0000
committerGravatar snowdrop2005-07-22 08:55:46 +0000
commite16678950607bf80eb879202d3eff0377c80892a (patch)
tree13a1aeaf62a486de5491c5f77c275bcf515047f8
parenta223b5df0249ae0a3de0ae35ef72061c4fe45bcf (diff)
downloadcsoap-e16678950607bf80eb879202d3eff0377c80892a.tar.gz
csoap-e16678950607bf80eb879202d3eff0377c80892a.tar.bz2
altered script with vars
-rw-r--r--doc/compile.xml29
1 files changed, 17 insertions, 12 deletions
diff --git a/doc/compile.xml b/doc/compile.xml
index 6dabd72..f192e45 100644
--- a/doc/compile.xml
+++ b/doc/compile.xml
@@ -172,27 +172,32 @@ Ok. Here is a script which will download, compile and install csoap and libxml2.
#-----------------------------------------------------------
#!/bin/sh
+# Alter this variables for your installation directory
+LIBSOAPDIST=/usr/local
+LIBXMLDIST=/usr/local
+
# Download and install libxml2
-wget ftp://ftp.xmlsoft.org/libxml2-2.6.20.tar.gz
-tar zxvf libxml2-2.6.20.tar.gz
-cd libxml2-2.6.20
-./configure --prefix=`pwd`/../libxml2
-make
-make install
+wget ftp://ftp.xmlsoft.org/libxml2-2.6.20.tar.gz
+tar zxvf libxml2-2.6.20.tar.gz
+cd libxml2-2.6.20
+./configure --prefix=$LIBXMLDIST
+make
+make install
cd ..
# Download and install cSOAP
-
-wget http://kent.dl.sourceforge.net/sourceforge/csoap/libsoap-1.0.3.tar.gz
-tar zxvf libsoap-1.0.3.tar.gz
-cd libsoap-1.0.3
-./configure --prefix=`pwd`/../libsoap --with-libxml-prefix=`pwd`/../libxml2
-make
+
+wget http://kent.dl.sourceforge.net/sourceforge/csoap/libsoap-1.0.3.tar.gz
+tar zxvf libsoap-1.0.3.tar.gz
+cd libsoap-1.0.3
+./configure --prefix=$LIBSOAPDIST --with-libxml-prefix=$LIBXMLDIST
+make
make install
#-----------------------------------------------------------
+
]]></synopsis>