root/gs2-extensions/gnome-lib/trunk/src/packages/CASCADE-MAKE/LIBPNG.sh @ 23631

Revision 23631, 0.8 KB (checked in by sjm84, 10 years ago)

libpng isn't necessary on Mac

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3package=libpng
4version=-1.5.0
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
9
10prefix=$GEXTGNOME_INSTALLED
11
12export CFLAGS="$CFLAGS -I$GEXTGNOME_INSTALLED/include"
13export CPPFLAGS="$CPPFLAGS -I$GEXTGNOME_INSTALLED/include"
14export CXXFLAGS="$CXXFLAGS -I$GEXTGNOME_INSTALLED/include"
15export LDFLAGS="$LDFLAGS -L$GEXTGNOME_INSTALLED/lib"
16
17echo GSDLOS = $GSDLOS
18
19if [ $GSDLOS != "darwin" ] ; then
20
21opt_run_untar $force_untar $auto_untar $package $version
22opt_run_configure $force_config $auto_config $package $version $prefix
23
24opt_run_make $compile $package $version
25opt_run_make $install $package $version "install"
26opt_run_make $clean $package $version "clean"
27opt_run_make $distclean $package $version "distclean"
28
29opt_run_tarclean $tarclean $package $version
30
31fi
Note: See TracBrowser for help on using the browser.