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

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

Added the -fPIC argument to the CFLAGS of the bz2 library in the gnome-lib extension to help libgsf compile in 64-bit

  • Property svn:executable set to *
File size: 508 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
12export CFLAGS="$CFLAGS -fPIC"
13
14opt_run_untar $force_untar $auto_untar $package $version
15opt_run_make $compile $package $version
16
17if [ $install = 1 ] ; then
18 (cd $package$version ; make install PREFIX=$prefix)
19fi
20
21opt_run_make $clean $package $version "clean"
22opt_run_make $distclean $package $version "distclean"
23
24opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.