Last change
on this file since 28828 was 28828, checked in by ak19, 10 years ago |
CUPS.sh needs disable-gssapi in order to compile CUPS on Mac Maverick (Darwin v13).
|
-
Property svn:executable
set to
*
|
File size:
1.2 KB
|
Rev | Line | |
---|
[28286] | 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
|
---|
| 4 | package=cups
|
---|
| 5 | version=-1.6.3
|
---|
| 6 |
|
---|
| 7 | progname=$0
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
|
---|
| 11 |
|
---|
| 12 | prefix=$GEXTGNOME_INSTALLED
|
---|
| 13 |
|
---|
| 14 | export CFLAGS="$CFLAGS -I$GEXTGNOME_INSTALLED/include"
|
---|
| 15 | export CPPFLAGS="$CPPFLAGS -I$GEXTGNOME_INSTALLED/include"
|
---|
| 16 | export CXXFLAGS="$CXXFLAGS -I$GEXTGNOME_INSTALLED/include"
|
---|
| 17 | export LDFLAGS="$LDFLAGS -L$GEXTGNOME_INSTALLED/lib"
|
---|
| 18 |
|
---|
[28828] | 19 | opt_config_args=
|
---|
| 20 | this_os=`uname`
|
---|
| 21 | osversion=`uname -r | sed 's/\..*$//'`;
|
---|
| 22 | if [ "x$this_os" = "xDarwin" -a $osversion -ge 13 ] ; then
|
---|
| 23 | opt_config_args=--disable-gssapi
|
---|
| 24 | fi
|
---|
| 25 |
|
---|
[28286] | 26 | opt_run_untar $force_untar $auto_untar $package $version ".tar.bz2"
|
---|
| 27 |
|
---|
| 28 | opt_run_configure $force_config $auto_config $package $version $prefix \
|
---|
[28828] | 29 | --disable-launchd --datarootdir=$GEXTGNOME_INSTALLED/etc --with-bundledir=$GEXTGNOME_INSTALLED/etc --with-rcdir=$GEXTGNOME_INSTALLED/etc $opt_config_args
|
---|
[28286] | 30 |
|
---|
| 31 | opt_run_make $compile $package $version
|
---|
| 32 | opt_run_make $install $package $version "install"
|
---|
| 33 | opt_run_make $clean $package $version "clean"
|
---|
| 34 | opt_run_make $distclean $package $version "distclean"
|
---|
| 35 |
|
---|
| 36 | opt_run_tarclean $tarclean $package $version
|
---|
Note:
See
TracBrowser
for help on using the repository browser.