source: gs3-extensions/hugin/trunk/src/packages/CASCADE-MAKE/ILMBASE.sh@ 26876

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

Patch that tweaks one file in ilmbase to help compilation on a 32-bit linux machine

  • Property svn:executable set to *
File size: 917 bytes
Line 
1#!/bin/bash
2
3package=ilmbase
4version=-git-jan2013
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXT_HUGIN ../.. $*
9
10prefix=$GEXTHUGIN_INSTALLED
11
12needs_patch=0
13if [ $force_untar = "1" ] ; then
14 needs_patch=1;
15fi
16
17if [ $auto_config = "1" ] ; then
18 if [ ! -d $package$version ] ; then
19 needs_patch=1;
20 fi
21fi
22
23
24opt_run_untar $force_untar $auto_untar $package $version
25
26if [ $needs_patch = "1" ] ; then
27 patch -p0 < patches/ilmbase-git-jan2013.patch
28fi
29
30if [ $auto_config = "1" ] ; then
31 cd $package$version;
32 ACLOCAL_INCLUDE="$ACLOCAL_INLCUDE -I$prefix/share/aclocal" ./bootstrap
33 cd ..;
34fi
35
36opt_run_configure $force_config $auto_config $package $version $prefix
37
38opt_run_make $compile $package $version
39opt_run_make $install $package $version "install"
40opt_run_make $clean $package $version "clean"
41opt_run_make $distclean $package $version "distclean"
42
43opt_run_tarclean $tarclean $package $version
44
Note: See TracBrowser for help on using the repository browser.