source: gs2-extensions/gnome-lib/trunk/src/packages/CASCADE-MAKE/LIBBZ2.sh@ 23274

Last change on this file since 23274 was 23274, checked in by sjm84, 11 years ago

LIBBZ2 needs -fPIC when compiling for 64-bit

  • Property svn:executable set to *
File size: 527 bytes
Line 
1#!/bin/bash
2
3package=bzip2
4version=-1.0.6
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
9
10prefix=$GEXTGNOME_INSTALLED
11
12opt_run_untar $force_untar $auto_untar $package $version
13
14if [ $compile = 1 ] ; then
15 (cd $package$version ; make CFLAGS="$CFLAGS -fPIC")
16fi
17
18if [ $install = 1 ] ; then
19 (cd $package$version ; make install PREFIX=$prefix)
20fi
21
22opt_run_make $clean $package $version "clean"
23opt_run_make $distclean $package $version "distclean"
24
25opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.