root/gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE/LIBPNG.sh @ 32246

Revision 32245, 0.8 KB (checked in by ak19, 17 months ago)

When I copied across the LIBPNG.sh cascade make file, it excluded compiling on darwin, which I didn't notice. Removing the conditional statement, so I can compile libpng on darwin for xpdftools

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3package=libpng
4#version=-1.5.0
5version=-1.5.30
6
7progname=$0
8
9source ../cascade-make/lib/cascade-lib.bash GEXT_XPDFTOOLS ../.. $*
10
11prefix=$GEXTXPDFTOOLS_INSTALLED
12
13export CFLAGS="$CFLAGS -I$GEXTXPDFTOOLS_INSTALLED/include"
14export CPPFLAGS="$CPPFLAGS -I$GEXTXPDFTOOLS_INSTALLED/include"
15export CXXFLAGS="$CXXFLAGS -I$GEXTXPDFTOOLS_INSTALLED/include"
16export LDFLAGS="$LDFLAGS -L$GEXTXPDFTOOLS_INSTALLED/lib"
17
18echo GSDLOS = $GSDLOS
19
20opt_run_untar $force_untar $auto_untar $package $version
21
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
Note: See TracBrowser for help on using the browser.