root/gs2-extensions/gnome-lib/trunk/src/packages/CASCADE-MAKE/LIBXML.sh @ 30881

Revision 30881, 0.7 KB (checked in by ak19, 3 years ago)

Adding in disable-shared and enable-static flags to the configure step in as many packages' cascade-make files as possible (all the packages that support these flags).

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3# libxml2.2.9.0 was modified for Greenstone to allow compilation to succeed on a Mac, so it has acquired a 'gs-' prefix
4package=gs-libxml2
5version=-2.9.0
6
7progname=$0
8
9source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
10
11prefix=$GEXTGNOME_INSTALLED
12
13export CFLAGS="$CFLAGS -DLIBXML_STATIC"
14
15opt_run_untar $force_untar $auto_untar $package $version
16opt_run_configure $force_config $auto_config $package $version $prefix \
17  --without-python --disable-shared --enable-static
18
19opt_run_make $compile $package $version
20opt_run_make $install $package $version "install"
21opt_run_make $clean $package $version "clean"
22opt_run_make $distclean $package $version "distclean"
23
24opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the browser.