Last change
on this file since 26783 was 26623, checked in by davidb, 11 years ago |
Minor tweaks to help with compilation with mingw under Linux (cross-compiling to generate Windows native binaries)
|
-
Property svn:executable
set to
*
|
File size:
941 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=libgsf
|
---|
4 | version=-1.14.18
|
---|
5 |
|
---|
6 | progname=$0
|
---|
7 |
|
---|
8 | source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
|
---|
9 |
|
---|
10 | prefix=$GEXTGNOME_INSTALLED
|
---|
11 |
|
---|
12 | export CFLAGS="$CFLAGS -DLIBXML_STATIC"
|
---|
13 |
|
---|
14 | export CFLAGS="$CFLAGS -I$GEXTGNOME_INSTALLED/include"
|
---|
15 | export CPPFLAGS="$CPPFLAGS -I$GEXTGNOME_INSTALLED/include"
|
---|
16 | export CXXFLAGS="$CXXFLAGS -I$GEXTGNOME_INSTALLED/include"
|
---|
17 | export LDFLAGS="$LDFLAGS -L$GEXTGNOME_INSTALLED/lib"
|
---|
18 |
|
---|
19 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
20 |
|
---|
21 | PARSERPATH=`find $prefix -name "Parser.pm"`
|
---|
22 | PARSERDIR=`dirname $PARSERPATH`
|
---|
23 | export PERL5LIB=`dirname $PARSERDIR`
|
---|
24 |
|
---|
25 | opt_run_configure $force_config $auto_config $package $version $prefix \
|
---|
26 | --without-python --without-gdk-pixbuf
|
---|
27 |
|
---|
28 | opt_run_make $compile $package $version
|
---|
29 | opt_run_make $install $package $version "install"
|
---|
30 | opt_run_make $clean $package $version "clean"
|
---|
31 | opt_run_make $distclean $package $version "distclean"
|
---|
32 |
|
---|
33 | opt_run_tarclean $tarclean $package $version |
---|
Note:
See
TracBrowser
for help on using the repository browser.