source: gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE/LIBPNG.sh@ 32228

Last change on this file since 32228 was 32228, checked in by ak19, 6 years ago

Tried to compile xpdf-tools up statically with CMake, but still not successful. For now committing modifications necessary (including the new additional packages) for compiling xpdf-tools agains dynamically linked libs of libpng and zlib and freetype. Although these 3 packages have been introduced and are successfully compiled up (and I can even get the CMake configure stage of xpdf-tools to 'see' them), the xpdftools binaries upon successful compilation are shown by ldd to still refer to system versions of zlib, libpng and freetype. Some modifications to a single file in the xpdftools src package were necessary to get things to compile again with these changes, so recommitting the xpdftools src package with modications using the usual gs- prefix and a readme.

  • Property svn:executable set to *
File size: 846 bytes
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
20if [ $GSDLOS != "darwin" ] ; then
21
22opt_run_untar $force_untar $auto_untar $package $version
23opt_run_configure $force_config $auto_config $package $version $prefix
24
25opt_run_make $compile $package $version
26opt_run_make $install $package $version "install"
27opt_run_make $clean $package $version "clean"
28opt_run_make $distclean $package $version "distclean"
29
30opt_run_tarclean $tarclean $package $version
31
32fi
Note: See TracBrowser for help on using the repository browser.