libjpeg-exif _unstable_ port information

Package: libjpeg-exif
Version: 6b
Revision: 17
Depends: libjpeg-shlibs (>= 6b-16)
Conflicts: libjpeg-bin (<= 6b-16)
BuildDepends: libjpeg, fink (>= 0.24.12)
Source: ftp://ftp.uunet.de/pub/graphics/jpeg/jpegsrc.v%v.tar.gz
Source-MD5: dbd5f3b47ed13132f04c685d608a7547
SourceDirectory: jpeg-%v
PatchFile: %n.patch
PatchFile-MD5: 920cae08da8baad9d40973f11bda54eb
UpdateConfigGuess: true
UpdateLibtool: true
ConfigureParams: --enable-shared --enable-static
InstallScript: <<
mkdir -p %i/bin %i/include %i/lib %i/share/man/man1
make install prefix=%i mandir=%i/share/man/man1
rm -R %i/share/man %i/lib %i/include
rm %i/bin/cjpeg %i/bin/djpeg %i/bin/rdjpgcom %i/bin/wrjpgcom
mv %i/bin/jpegtran %i/bin/jpegtran.exif
<<
PostInstScript: <<
update-alternatives --install %p/bin/jpegtran jpegtran %p/bin/jpegtran.exif 60
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove jpegtran %p/bin/jpegtran.exif
fi
<<
DocFiles: README
DescPackaging: <<
The libjpeg-bin binary jpegtran has been patched to support JPEG files
with embedded EXIF data. In addition, an additional utility named
jpegexiforient has been included for processing JPEG files that
include orientation data in the EXIF data.

The alternatives system allows users to choose between the traditional
jpegtran binary, and the one supplied here.

Modification of libjpeg supplied by asnare@sourceforge, based on
http://sylvana.net/jpegcrop/exifpatch.html .
<<
Description: Utilities for manipulating JPEG and EXIF
Maintainer: None
Homepage: http://www.ijg.org/
License: OSI-Approved