Last change
on this file since 27247 was 27247, checked in by davidb, 11 years ago |
Initial set of packages to compile for this extension
|
-
Property svn:executable
set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=boost
|
---|
4 | version=_1_52_0
|
---|
5 |
|
---|
6 | progname=$0
|
---|
7 |
|
---|
8 | source ../cascade-make/lib/cascade-lib.bash GEXT_HUGIN ../.. $*
|
---|
9 |
|
---|
10 | prefix=$GEXTHUGIN_INSTALLED
|
---|
11 |
|
---|
12 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
13 |
|
---|
14 | if [ $auto_config = "1" ] ; then
|
---|
15 | if [ ! -e $package$version/bjam ]; then
|
---|
16 | force_config=1
|
---|
17 | fi
|
---|
18 | fi
|
---|
19 |
|
---|
20 | if [ $force_config = "1" ] ; then
|
---|
21 | echo "[pushd $package$version]"
|
---|
22 | ( cd $package$version ; \
|
---|
23 | ./bootstrap.sh --prefix=$prefix; \
|
---|
24 | BZIP2_INCLUDE=$prefix/include/ \
|
---|
25 | BZIP2_LIBPATH=$prefix/lib/ \
|
---|
26 | ./b2 --without-python install; \
|
---|
27 | cd ..; )
|
---|
28 | if [ $? != 0 ] ; then
|
---|
29 | echo " Error encountered running *configure* stage of $progname"
|
---|
30 | exit 1
|
---|
31 | fi
|
---|
32 | echo "[popd]"
|
---|
33 | else
|
---|
34 | if [ $auto_config = "1" ] ; then
|
---|
35 | echo "Found Boostrap output for ${progname%.*} => no need to Bootstrap or Compile"
|
---|
36 | fi
|
---|
37 | fi
|
---|
38 |
|
---|
39 | #opt_run_configure $force_config $auto_config $package $version $prefix
|
---|
40 |
|
---|
41 | #opt_run_make $compile $package $version
|
---|
42 | #opt_run_make $install $package $version "install"
|
---|
43 | #opt_run_make $clean $package $version "clean"
|
---|
44 | #opt_run_make $distclean $package $version "distclean"
|
---|
45 |
|
---|
46 | opt_run_tarclean $tarclean $package $version
|
---|
47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.