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

Last change on this file since 32251 was 32251, checked in by ak19, 6 years ago
  1. Getting LIBJPEG to compile on Mac requires not passing --enable-static. On Mac too, compiling LIBJPEG also only produces .a (and no .so/.dylib) no matter what, but that happens to be what we want anyway. 2. Turning off building shared libraries (--disable-shared) for all libraries we build that are used by xpdftools, so that on Mac it hopefully chooses to link these in (which won't happen if there's a preferred dylib elsewhere, particularly on the system, which will then get linked in in preference on Macs). Still need to test these changes on Linux again.
  • Property svn:executable set to *
File size: 752 bytes
Line 
1#!/bin/bash
2
3package=tiff
4version=-4.0.4
5
6progname=$0
7
8# From http://trac.greenstone.org/browser/gs2-extensions/ocr/trunk/packages/cmdline/CASCADE-MAKE/LIBTIFF.sh
9#source ../../bin/script/test-setup.bash
10#source ../../lib/cascade-lib.bash
11source ../cascade-make/lib/cascade-lib.bash GEXT_XPDFTOOLS ../.. $*
12
13prefix=$GEXTXPDFTOOLS_INSTALLED
14
15opt_run_untar $force_untar $auto_untar $package $version
16opt_run_configure $force_config $auto_config $package $version "$prefix" --enable-static --disable-shared
17
18opt_run_make $compile $package $version
19opt_run_make $install $package $version "install"
20opt_run_make $clean $package $version "clean"
21opt_run_make $distclean $package $version "distclean"
22
23opt_run_tarclean $tarclean $package $version
24
25
Note: See TracBrowser for help on using the repository browser.