Last change
on this file since 35810 was 30756, checked in by davidb, 8 years ago |
Moving to a newer version to get beyond a compilation error message on El Capitan
|
-
Property svn:executable
set to
*
|
File size:
1.3 KB
|
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
|
---|
4 | package=cups
|
---|
5 | #version=-1.6.3
|
---|
6 | #version=-1.7
|
---|
7 | version=-2.2rc1
|
---|
8 |
|
---|
9 | progname=$0
|
---|
10 |
|
---|
11 |
|
---|
12 | source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
|
---|
13 |
|
---|
14 | prefix=$GEXTGNOME_INSTALLED
|
---|
15 |
|
---|
16 | export CFLAGS="$CFLAGS -I$GEXTGNOME_INSTALLED/include"
|
---|
17 | export CPPFLAGS="$CPPFLAGS -I$GEXTGNOME_INSTALLED/include"
|
---|
18 | export CXXFLAGS="$CXXFLAGS -I$GEXTGNOME_INSTALLED/include"
|
---|
19 | export LDFLAGS="$LDFLAGS -L$GEXTGNOME_INSTALLED/lib"
|
---|
20 |
|
---|
21 | opt_config_args=
|
---|
22 | this_os=`uname`
|
---|
23 | osversion=`uname -r | sed 's/\..*$//'`;
|
---|
24 | if [ "x$this_os" = "xDarwin" -a $osversion -ge 13 ] ; then
|
---|
25 | opt_config_args=--disable-gssapi
|
---|
26 | fi
|
---|
27 |
|
---|
28 | #opt_run_untar $force_untar $auto_untar $package $version ".tar.bz2"
|
---|
29 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
30 |
|
---|
31 | opt_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 |
|
---|
34 | opt_run_make $compile $package $version
|
---|
35 | opt_run_make $install $package $version "install"
|
---|
36 | opt_run_make $clean $package $version "clean"
|
---|
37 | opt_run_make $distclean $package $version "distclean"
|
---|
38 |
|
---|
39 | opt_run_tarclean $tarclean $package $version
|
---|
Note:
See
TracBrowser
for help on using the repository browser.