Last change
on this file since 26876 was 26876, checked in by davidb, 11 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
|
Rev | Line | |
---|
[26862] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | package=ilmbase
|
---|
| 4 | version=-git-jan2013
|
---|
| 5 |
|
---|
| 6 | progname=$0
|
---|
| 7 |
|
---|
| 8 | source ../cascade-make/lib/cascade-lib.bash GEXT_HUGIN ../.. $*
|
---|
| 9 |
|
---|
| 10 | prefix=$GEXTHUGIN_INSTALLED
|
---|
| 11 |
|
---|
[26876] | 12 | needs_patch=0
|
---|
| 13 | if [ $force_untar = "1" ] ; then
|
---|
| 14 | needs_patch=1;
|
---|
| 15 | fi
|
---|
| 16 |
|
---|
| 17 | if [ $auto_config = "1" ] ; then
|
---|
| 18 | if [ ! -d $package$version ] ; then
|
---|
| 19 | needs_patch=1;
|
---|
| 20 | fi
|
---|
| 21 | fi
|
---|
| 22 |
|
---|
| 23 |
|
---|
[26862] | 24 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
[26876] | 25 |
|
---|
| 26 | if [ $needs_patch = "1" ] ; then
|
---|
| 27 | patch -p0 < patches/ilmbase-git-jan2013.patch
|
---|
| 28 | fi
|
---|
| 29 |
|
---|
[26862] | 30 | if [ $auto_config = "1" ] ; then
|
---|
| 31 | cd $package$version;
|
---|
| 32 | ACLOCAL_INCLUDE="$ACLOCAL_INLCUDE -I$prefix/share/aclocal" ./bootstrap
|
---|
| 33 | cd ..;
|
---|
| 34 | fi
|
---|
| 35 |
|
---|
| 36 | opt_run_configure $force_config $auto_config $package $version $prefix
|
---|
| 37 |
|
---|
| 38 | opt_run_make $compile $package $version
|
---|
| 39 | opt_run_make $install $package $version "install"
|
---|
| 40 | opt_run_make $clean $package $version "clean"
|
---|
| 41 | opt_run_make $distclean $package $version "distclean"
|
---|
| 42 |
|
---|
| 43 | opt_run_tarclean $tarclean $package $version
|
---|
| 44 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.