source: gs2-extensions/gnome-lib/trunk/src/packages/CASCADE-MAKE/PKG-CONFIG.sh@ 35810

Last change on this file since 35810 was 34983, checked in by anupama, 3 years ago

Merging the gnome-lib branch macos-dev at https://trac.greenstone.org/browser/gs2-extensions/gnome-lib/branches/macos-dev with the main trunk after testing it first on assigned linux 64 bit machine in lab as well as 64 bit LSB VM, and making changes for it to compile on Linux 64 bit LSB.

  • Property svn:executable set to *
File size: 923 bytes
Line 
1#!/bin/bash
2
3package=pkg-config
4#version=-0.25
5version=-0.29
6
7progname=$0
8
9source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
10
11prefix=$GEXTGNOME_INSTALLED
12
13export GLIB_CFLAGS="-I$GEXTGNOME_INSTALLED/include/glib-2.0 -I$GEXTGNOME_INSTALLED/lib/glib-2.0/include"
14export GLIB_LIBS="-L$GEXTGNOME_INSTALLED/lib -lglib-2.0"
15
16osversion=`uname -r | sed 's/\..*$//'`;
17if [ "x$GSDLOS" = "xdarwin" -a $osversion -ge 11 ] ; then
18 export CFLAGS="$CFLAGS -framework Carbon -framework CoreFoundation -framework Security"
19fi
20
21opt_run_untar $force_untar $auto_untar $package $version
22opt_run_configure $force_config $auto_config $package $version $prefix --disable-shared --enable-static
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.