source: gs2-extensions/imagemagick/trunk/src/packages/CASCADE-MAKE/LIBXML.sh@ 30675

Last change on this file since 30675 was 30675, checked in by davidb, 8 years ago

Additional packages, and updates to existing ones after testing on MacOS El Capitain

  • Property svn:executable set to *
File size: 955 bytes
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 GEXTIMAGEMAGICK ../.. $*
10
11prefix=$GEXTIMAGEMAGICK_INSTALLED
12
13export CFLAGS="$CFLAGS -I$GEXTIMAGEMAGICK_INSTALLED/include -DLIBXML_STATIC"
14export CPPFLAGS="$CPPFLAGS -I$GEXTIMAGEMAGICK_INSTALLED/include"
15export CXXFLAGS="$CXXFLAGS -I$GEXTIMAGEMAGICK_INSTALLED/include"
16export LDFLAGS="$LDFLAGS -L$GEXTIMAGEMAGICK_INSTALLED/lib"
17
18opt_run_untar $force_untar $auto_untar $package $version
19opt_run_configure $force_config $auto_config $package $version $prefix \
20 --without-python --disable-shared
21
22opt_run_make $compile $package $version
23opt_run_make $install $package $version "install"
24opt_run_make $clean $package $version "clean"
25opt_run_make $distclean $package $version "distclean"
26
27opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.