cuneiform _unstable_ port information

Package: cuneiform
Version: 1.0.0
Revision: 1
#Doesn't work on ppc and seg faults on x86_64
Architecture: i386
Description: Commercial grade OCR system
Maintainer: Daniel Johnson
Homepage: https://launchpad.net/cuneiform-linux
License: BSD
DescDetail: <<
Cuneiform is a commercial grade optical character recognition (OCR)
system. It was originally developed and open sourced by Cognitive
technologies, and was originally Windows-only.
<<
DescUsage: <<
cuneiform [options] imagefile
options:
-l languagename (use -l alone for list of languages)
-f format (use -f alone for list of output formats)
--dotmatrix (assume input is from dot matrix printer)
--fax (assume input is from fax machine)
-o result_file
imagefile can be any image type understood by ImageMagick.
<<

Source: http://launchpad.net/%n-linux/1.0/1.0/+download/%n-linux-%v.tar.bz2
Source-MD5: 785232ffffad7d82446fbac08a1c3ef9
SourceDirectory: %n-linux-%v

PatchScript: perl -pi -e 's,"lib","lib/%n",' install_files.cmake

Depends: imagemagick2-shlibs, imagemagick
BuildDepends: imagemagick2-dev, fink (>= 0.28), cmake

CompileScript: <<
#!/bin/bash -ev
/bin/mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=%p -DCMAKE_INSTALL_NAME_DIR:PATH=%p/lib/%n ..
make
<<

InstallScript: <<
#!/bin/bash -ev
cd build
make install DESTDIR=%d
rm -r %i/include
<<

DocFiles: issues.txt readme.txt cuneiform_src/Kern/license.txt

Shlibs: <<
!%p/lib/%n/libccom.1.0.0.dylib
!%p/lib/%n/libced.1.0.0.dylib
!%p/lib/%n/libcfcompat.1.0.0.dylib
!%p/lib/%n/libcfio.1.0.0.dylib
!%p/lib/%n/libcimage.1.0.0.dylib
!%p/lib/%n/libcline.1.0.0.dylib
!%p/lib/%n/libcpage.1.0.0.dylib
!%p/lib/%n/libcpu32.1.0.0.dylib
!%p/lib/%n/libcstr.1.0.0.dylib
!%p/lib/%n/libctb32.1.0.0.dylib
!%p/lib/%n/libcuneiform.1.0.0.dylib
!%p/lib/%n/libdif32.1.0.0.dylib
!%p/lib/%n/libevn32.1.0.0.dylib
!%p/lib/%n/libexc.1.0.0.dylib
!%p/lib/%n/libfon32.1.0.0.dylib
!%p/lib/%n/libleo32.1.0.0.dylib
!%p/lib/%n/liblns32.1.0.0.dylib
!%p/lib/%n/libloc32.1.0.0.dylib
!%p/lib/%n/libmmx32.1.0.0.dylib
!%p/lib/%n/libmsk32.1.0.0.dylib
!%p/lib/%n/libpass2.1.0.0.dylib
!%p/lib/%n/libr3532.1.0.0.dylib
!%p/lib/%n/librbal.1.0.0.dylib
!%p/lib/%n/librblock.1.0.0.dylib
!%p/lib/%n/librcorrkegl.1.0.0.dylib
!%p/lib/%n/librcutp.1.0.0.dylib
!%p/lib/%n/librdib.1.0.0.dylib
!%p/lib/%n/librfrmt.1.0.0.dylib
!%p/lib/%n/librimage.1.0.0.dylib
!%p/lib/%n/librline.1.0.0.dylib
!%p/lib/%n/librling.1.0.0.dylib
!%p/lib/%n/librlings.1.0.0.dylib
!%p/lib/%n/librmarker.1.0.0.dylib
!%p/lib/%n/librneg.1.0.0.dylib
!%p/lib/%n/librout.1.0.0.dylib
!%p/lib/%n/librpic.1.0.0.dylib
!%p/lib/%n/librpstr.1.0.0.dylib
!%p/lib/%n/librreccom.1.0.0.dylib
!%p/lib/%n/librsadd.1.0.0.dylib
!%p/lib/%n/librselstr.1.0.0.dylib
!%p/lib/%n/librshelllines.1.0.0.dylib
!%p/lib/%n/librstr.1.0.0.dylib
!%p/lib/%n/librstuff.1.0.0.dylib
!%p/lib/%n/librverline.1.0.0.dylib
!%p/lib/%n/libsmetric.1.0.0.dylib
!%p/lib/%n/libstd32.1.0.0.dylib
<<