source: gs2-extensions/gnome-lib/branches/macos-dev/src/packages/CASCADE-MAKE/PKG-CONFIG.sh@ 34350

Last change on this file since 34350 was 34350, checked in by davidb, 4 years ago

Changes to allow gnome-lib extension to compile on Macrocarpa (MacOS)

  • Property svn:executable set to *
File size: 923 bytes
RevLine 
[22811]1#!/bin/bash
2
3package=pkg-config
[30467]4#version=-0.25
5version=-0.29
[22811]6
7progname=$0
8
[23096]9source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
[22811]10
11prefix=$GEXTGNOME_INSTALLED
12
[30467]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
[34350]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
[22811]21opt_run_untar $force_untar $auto_untar $package $version
[30881]22opt_run_configure $force_config $auto_config $package $version $prefix --disable-shared --enable-static
[22811]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.