root/gs2-extensions/echoprint/trunk/src/packages/CASCADE-MAKE/BOOST.sh @ 27267

Revision 27267, 1.1 KB (checked in by davidb, 6 years ago)

Edits after testing

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3package=boost
4version=_1_52_0
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXT_ECHOPRINT ../.. $*
9
10prefix=$GEXTECHOPRINT_INSTALLED
11
12opt_run_untar $force_untar $auto_untar $package $version
13
14if [ $auto_config = "1" ] ; then
15  if [ ! -e $package$version/bjam ]; then
16  force_config=1
17  fi
18fi
19
20if [ $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]"
33else
34  if [ $auto_config = "1" ] ; then
35    echo "Found Boostrap output for ${progname%.*} => no need to Bootstrap or Compile"
36  fi
37fi
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
46opt_run_tarclean $tarclean $package $version
47
Note: See TracBrowser for help on using the browser.