File: axis2c_build.sh

package info (click to toggle)
axis2c 1.6.0-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 39,980 kB
  • ctags: 43,679
  • sloc: ansic: 148,102; xml: 9,461; sh: 9,269; makefile: 2,807; cpp: 577; php: 316; perl: 119
file content (23 lines) | stat: -rwxr-xr-x 418 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

if [ -z "$1" ] ; then
    AXIS2C_DEPLOY="/usr/local/axis2c"
else
    AXIS2C_DEPLOY=$1
fi

if [ `uname -s` = Darwin ]
then
    export DYLD_LIBRARY_PATH=${AXIS2C_DEPLOY}/lib
else
    export LD_LIBRARY_PATH=${AXIS2C_DEPLOY}/lib
fi

./configure --prefix=${AXIS2C_DEPLOY}
make 
make install

cd samples
./configure --prefix=${AXIS2C_DEPLOY} --with-axis2=${AXIS2C_DEPLOY}/include/axis2-1.6.0
make 
make install