source: gs2-extensions/gnome-lib/trunk/src/packages/CASCADE-MAKE/CUPS.sh@ 28286

Last change on this file since 28286 was 28286, checked in by ak19, 11 years ago

On the latest Mac we found that gnome-lib failed to compile properly and failed at GLIB. Dr Bainbridge worked out that GLIB needed LIBICONV, and in order for GLIB to work with LIBICONV, it also needed CUPS. Dr Bainbridge got them all compiling together. Currently CASCADE-MAKE.sh specifies that these extra packages be processed for all darwin. It's now been tested to work on the latest Lion, but it still needs to be tested on Leopard.

  • Property svn:executable set to *
File size: 1010 bytes
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
5version=-1.6.3
6
7progname=$0
8
9
10source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
11
12prefix=$GEXTGNOME_INSTALLED
13
14export CFLAGS="$CFLAGS -I$GEXTGNOME_INSTALLED/include"
15export CPPFLAGS="$CPPFLAGS -I$GEXTGNOME_INSTALLED/include"
16export CXXFLAGS="$CXXFLAGS -I$GEXTGNOME_INSTALLED/include"
17export LDFLAGS="$LDFLAGS -L$GEXTGNOME_INSTALLED/lib"
18
19opt_run_untar $force_untar $auto_untar $package $version ".tar.bz2"
20
21opt_run_configure $force_config $auto_config $package $version $prefix \
22 --disable-launchd --datarootdir=$GEXTGNOME_INSTALLED/etc --with-bundledir=$GEXTGNOME_INSTALLED/etc --with-rcdir=$GEXTGNOME_INSTALLED/etc
23
24opt_run_make $compile $package $version
25opt_run_make $install $package $version "install"
26opt_run_make $clean $package $version "clean"
27opt_run_make $distclean $package $version "distclean"
28
29opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.