source: gs2-extensions/imagemagick/trunk/src/packages/CASCADE-MAKE/LIBPNG.sh@ 28273

Last change on this file since 28273 was 28273, checked in by davidb, 8 years ago

FLAGS added to help libpng find libz at configure time

  • Property svn:executable set to *
File size: 834 bytes
Line 
1#!/bin/bash
2
3package=libpng
4version=-1.4.4
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTIMAGEMAGICK ../.. $*
9
10prefix=$GEXTIMAGEMAGICK_INSTALLED
11
12export CFLAGS="$CFLAGS -I$GEXTIMAGEMAGICK_INSTALLED/include"
13export CPPFLAGS="$CPPFLAGS -I$GEXTIMAGEMAGICK_INSTALLED/include"
14export CXXFLAGS="$CXXFLAGS -I$GEXTIMAGEMAGICK_INSTALLED/include"
15export LDFLAGS="$LDFLAGS -L$GEXTIMAGEMAGICK_INSTALLED/lib"
16export LD_LIBRARY_PATH="$GEXTIMAGEMAGICK_INSTALLED/lib"
17
18opt_run_untar $force_untar $auto_untar $package $version
19opt_run_configure $force_config $auto_config $package $version $prefix
20
21opt_run_make $compile $package $version
22opt_run_make $install $package $version "install"
23opt_run_make $clean $package $version "clean"
24opt_run_make $distclean $package $version "distclean"
25
26opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.