Package: libtiff Version: 3.6.1 Revision: 4 Depends: %N-shlibs (= %v-%r), %N-bin BuildDepends: libjpeg (>= 6b-3), fink (>= 0.9.9) Source: ftp://ftp.remotesensing.org/remotesensing/libtiff/old/tiff-v%v.tar.gz Source-MD5: b3f0ee7617593c2703755672fb1bfed3 Source2: ftp://ftp.remotesensing.org/remotesensing/libtiff/old/libtiff-lzw-compression-kit-1.5.tar.gz Source2-MD5: 2cd1c94d237d47104106de3bf4f08baa PatchScript: << #!/bin/sh -e sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1 echo 'Patching for LZW write support' cp ../libtiff-lzw-compression-kit-1.5/tif_lzw.c libtiff/tif_lzw.c cp ../libtiff-lzw-compression-kit-1.5/README-LZW-COMPRESSION . echo "Since the patent has expired, Fink's libtiff package now enables LZW." > FINK-LIBTIFF-LZW << NoSetMAKEFLAGS: true SetMAKEFLAGS: -j1 CompileScript: << OPTIMIZER=-O3 ./configure --noninteractive (export DESTDIR=%d; make) << InstallScript: << mkdir -p %i/share/man (export DESTDIR=%d; make install) ranlib %i/lib/libtiff.a mkdir -p %i/share/doc/%n/html cp html/*.html %i/share/doc/%n/html/ mkdir -p %i/share/doc/%n/html/images cp html/images/*.gif html/images/*.jpg %i/share/doc/%n/html/images/ mkdir -p %i/share/doc/%n/html/man cp html/man/*.html %i/share/doc/%n/html/man/ << DocFiles: COPYRIGHT README README-LZW-COMPRESSION FINK-LIBTIFF-LZW BuildDependsOnly: True SplitOff: << Package: %N-shlibs Depends: libjpeg-shlibs (>= 1.1.3-6) Replaces: libtiff (<< 3.5.7-5) Suggests: %N-bin Files: lib/libtiff.%v.dylib lib/libtiff.3.dylib Shlibs: %p/lib/libtiff.3.dylib 3.6.0 %n (>= 3.6.1-3) Description: Shared libraries for libtiff package DocFiles: COPYRIGHT README README-LZW-COMPRESSION FINK-LIBTIFF-LZW << SplitOff2: << Package: %N-bin Depends: libjpeg-shlibs (>= 1.1.3-6), %N-shlibs (= %v-%r) Replaces: libtiff (<< 3.5.7-5) Files: bin share/man/man1 Description: Executables for libtiff package DocFiles: COPYRIGHT README README-LZW-COMPRESSION FINK-LIBTIFF-LZW << Description: TIFF image format library and tools DescPort: << Doesn't use autoconf. Comes with a self-built configure script. Now includes shared library support for Darwin, but we make several small patches to that (one related to the 10.1 upgrade), including a patch which supplies current_version and compatibility_version. DESTDIR support has been added upstream, so the previous gyrations to get this to install are no longer necessary. Thanks to Brion Vibber for enabling LZW support. Now compiling with -O3 at the suggestion of Blair Zajac. Previous versions by Christoph Pfisterer. << License: BSD Homepage: http://www.libtiff.org/ Maintainer: Dave Morrison