root/gs2-extensions/gnome-lib/trunk/src/packages/CASCADE-MAKE/CUPS.sh @ 30756

Revision 30756, 1.3 KB (checked in by davidb, 3 years ago)

Moving to a newer version to get beyond a compilation error message on El Capitan

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3# glib2.28.1 was modified for Greenstone to allow compilation to succed on a Mac, so it has acquired a 'gs-' prefix
4package=cups
5#version=-1.6.3
6#version=-1.7
7version=-2.2rc1
8
9progname=$0
10
11
12source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
13
14prefix=$GEXTGNOME_INSTALLED
15
16export CFLAGS="$CFLAGS -I$GEXTGNOME_INSTALLED/include"
17export CPPFLAGS="$CPPFLAGS -I$GEXTGNOME_INSTALLED/include"
18export CXXFLAGS="$CXXFLAGS -I$GEXTGNOME_INSTALLED/include"
19export LDFLAGS="$LDFLAGS -L$GEXTGNOME_INSTALLED/lib"
20
21opt_config_args=
22this_os=`uname`
23osversion=`uname -r | sed 's/\..*$//'`;
24if [ "x$this_os" = "xDarwin" -a $osversion -ge 13 ] ; then
25    opt_config_args=--disable-gssapi
26fi
27
28#opt_run_untar $force_untar $auto_untar $package $version ".tar.bz2"
29opt_run_untar $force_untar $auto_untar $package $version
30
31opt_run_configure $force_config $auto_config $package $version $prefix \
32  --disable-launchd --datarootdir=$GEXTGNOME_INSTALLED/etc --with-bundledir=$GEXTGNOME_INSTALLED/etc --with-rcdir=$GEXTGNOME_INSTALLED/etc $opt_config_args
33
34opt_run_make $compile $package $version
35opt_run_make $install $package $version "install"
36opt_run_make $clean $package $version "clean"
37opt_run_make $distclean $package $version "distclean"
38
39opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the browser.