libopenraw1-shlibs stable port information

Package: libopenraw1-shlibs
Version: 0.0.9
Revision: 1
Source: http://libopenraw.freedesktop.org/download/libopenraw-%v.tar.bz2
Source-MD5: 3611d8aea870d25314665ef53093288e
BuildDepends: <<
boost1.46.1.cmake,
fink-package-precedence,
glib2-dev (>= 2.22.0-1),
gtk+2-dev (>= 2.18.0-1),
libiconv-dev,
libjpeg8,
libxml2 (>= 2.7.8-1),
pkgconfig (>= 0.23)
<<
Depends: <<
glib2-shlibs (>= 2.22.0-1),
gtk+2-shlibs (>= 2.18.0-1),
libjpeg8-shlibs
<<
GCC: 4.0
PatchFile: %n.patch
PatchFile-MD5: f6c7696e31ec711de4bf197977e9110a
PatchScript: <<
%{default_script}
find . -name Makefile.in | xargs perl -pi -e 's/-L\S+//g'
find . -name Makefile.in | xargs perl -pi -e 's/-static//g'
perl -pi -e 's/-version-info/-no-undefined -version-info/' */Makefile.in
<<
ConfigureParams: --disable-static --enable-dependency-tracking --with-boost=%p PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH"
CompileScript: <<
./configure %c
make V=1
# make
fink-package-precedence --prohibit-bdep libopenraw1-dev .
<<
InfoTest: TestScript: make check V=1 || exit 2
#InfoTest: TestScript: make check || exit 2
InstallScript: <<
make install DESTDIR=%d V=1
# make install DESTDIR=%d
<<
DocFiles: AUTHORS COPYING* ChangeLog NEWS README TODO
Shlibs: <<
%p/lib/libopenraw.1.dylib 8.0.0 %n (>= 0.0.9-1)
%p/lib/libopenrawgnome.1.dylib 8.0.0 %n (>= 0.0.9-1)
<<
SplitOff: <<
Package: libopenraw1-dev
Depends: libopenraw1-shlibs (= %v-%r)
BuildDependsOnly: true
Files: <<
include
lib/libopenraw.{dylib,la}
lib/libopenrawgnome.{dylib,la}
lib/pkgconfig
<<
<<
DescPort: <<
Darwin doesn't have full static linking, but anyway just let
libtool do its magic for local build paths.
<<
Description: Decodes camera RAW files
License: LGPL
Homepage: http://libopenraw.freedesktop.org/wiki
Maintainer: Daniel Macks

libopenraw1-shlibs stable port .patch

diff -Nurd -x'*~' libopenraw-0.0.9.orig/test/Makefile.in libopenraw-0.0.9/test/Makefile.in
--- libopenraw-0.0.9.orig/test/Makefile.in 2011-11-13 16:04:00.000000000 -0500
+++ libopenraw-0.0.9/test/Makefile.in 2012-01-27 14:45:26.000000000 -0500
@@ -268,7 +268,7 @@

EXTRA_DIST = ljpegtest1.jpg
fileio_LDFLAGS = -L$(top_builddir)/lib/io
-fileio_LDADD = -lio
+fileio_LDADD = ../lib/libopenraw.la
fileio_SOURCES = fileio.t.c
extensions_SOURCES = extensions.cpp
extensions_LDFLAGS = -static $(OPENRAW_LIB)

libopenraw1-shlibs _unstable_ port .patch