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

Last change on this file since 23631 was 23631, checked in by sjm84, 13 years ago

libpng isn't necessary on Mac

  • Property svn:executable set to *
File size: 803 bytes
RevLine 
[23629]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
[23631]17echo GSDLOS = $GSDLOS
18
19if [ $GSDLOS != "darwin" ] ; then
20
[23629]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
[23631]29opt_run_tarclean $tarclean $package $version
30
31fi
Note: See TracBrowser for help on using the repository browser.