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

Last change on this file since 26814 was 26814, checked in by davidb, 10 years ago

More careful selection of packages, as needed by various cross-compilers

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/bin/bash
2
3source ../cascade-make/lib/cascade-lib.bash GEXTGNOME .. $*
4
5# The standard list of packages
6pkglist="LIBZ LIBBZ2 EXPAT LIBPNG READLINE XMLPARSER INTLTOOL GETTEXT PKG-CONFIG LIBXML LIBFFI GLIB LIBGSF"
7
8if [ "x$crossOS" != "x" ] ; then
9 # cross compiling
10 windows_pkglist="LIBZ LIBBZ2 EXPAT LIBPNG READLINE INTLTOOL LIBICONV GETTEXT LIBXML GLIB LIBGSF"
11
12 android_pkglist="LIBZ LIBBZ2 EXPAT LIBPNG READLINE INTLTOOL LIBICONV GETTEXT LIBXML DBUS LIBFFI GLIB LIBGSF"
13
14
15 if [ $crossOS = "android" ] ; then
16 pkglist=$android_pkglist
17 elif [ $crossOS = "windows" ] ; then
18 pkglist=$windows_pkglist
19 fi
20
21fi
22
23for d in $pkglist; do
24
25 echo " Running CASCADE-MAKE/$d.sh"
26
27 ./CASCADE-MAKE/$d.sh $*
28
29 if [ $? != 0 ] ; then
30 echo "Error encountered running CASCADE-MAKE/$d.sh"
31 exit 1
32 fi
33done
34
35if [ $install = "1" ] ; then
36 touch "$GEXTGNOME_INSTALLED/lib/pkgconfig/.fixed-prefix.awk"
37fi
38
39if [ $makedist = "1" ] ; then
40 rm -f "$GEXTGNOME_INSTALLED/lib/pkgconfig/.fixed-prefix.awk"
41 lalist=`find $GEXTGNOME_INSTALLED/lib -name "*.la"`
42 if [ -n "$lalist" ] ; then
43 rm -f $lalist
44 fi
45fi
Note: See TracBrowser for help on using the repository browser.