source: gs2-extensions/subversion/trunk/src/packages/CASCADE-MAKE/SERF.sh

Last change on this file was 35467, checked in by davidb, 2 years ago

Serf updated to newer version to work with newer versions of gcc compiler

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1#!/bin/bash
2
3package=serf
4#version=-1.3.1
5version=-1.3.9
6
7progname=$0
8
9source ../cascade-make/lib/cascade-lib.bash GEXTSVN ../.. $*
10
11prefix=$GEXTSVN_INSTALLED
12
13#export CFLAGS="-fPIC -I$prefix/include $CFLAGS"
14#export CXXFLAGS="-fPIC -I$prefix/include $CXXFLAGS"
15#export CPPFLAGS="-fPIC -I$prefix/include $CPPFLAGS"
16#export LDFLAGS="-L$prefix/lib $LDFLAGS"
17
18opt_run_untar $force_untar $auto_untar $package $version
19if [ ! -f $package$version/scons.py ] ; then
20 /bin/cp scons-local-2.3.0.tar.gz $package$version/. \
21 && (cd $package$version ; tar xvzf scons-local-2.3.0.tar.gz )
22fi
23
24#opt_run_configure $force_config $auto_config $package $version $prefix
25
26#opt_run_make $compile $package $version
27if [ $compile = 1 ] ; then
28 (cd $package$version ; ./scons.py APR=$prefix APU=$prefix OPENSSL=$prefix PREFIX=$prefix)
29fi
30
31#opt_run_make $install $package $version "install"
32if [ $compile = 1 ] ; then
33 (cd $package$version ; ./scons.py install)
34fi
35
36#opt_run_make $clean $package $version "clean"
37if [ $compile = 1 ] ; then
38 (cd $package$version ; ./scons.py -c)
39fi
40
41
42opt_run_make $distclean $package $version "distclean"
43
44opt_run_tarclean $tarclean $package $version
45
46
47
48
Note: See TracBrowser for help on using the repository browser.