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

Last change on this file since 26786 was 26786, checked in by davidb, 11 years ago

Changes for Android NDK

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/bin/bash
2
3package=glib
4#version=-2.24.2
5version=-2.28.1
6#version=-2.34.3
7
8progname=$0
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
19if [ "x$crossOS" = "xandroid" ] ; then
20 # Based on details found at:
21 # http://axcoto.com/blog/article/836
22 extra_config_args="glib_cv_stack_grows=${glib_cv_stack_grows=no} glib_cv_uscore=${glib_cv_uscore=no} ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=no} ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=no}"
23else
24 extra_config_args=
25fi
26
27opt_run_untar $force_untar $auto_untar $package $version
28opt_run_configure $force_config $auto_config $package $version $prefix \
29 $extra_config_args
30
31opt_run_make $compile $package $version
32opt_run_make $install $package $version "install"
33opt_run_make $clean $package $version "clean"
34opt_run_make $distclean $package $version "distclean"
35
36opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.