loudmouth stable port information

Package: loudmouth
Version: 1.4.3
Revision: 1
Description: Lightweight C library for the Jabber protocol
DescDetail: <<
Loudmouth is a lightweight and easy-to-use C library for programming with
the Jabber protocol. It's designed to be easy to get started with and yet
extensible to let you do anything the Jabber protocol allows.
<<
DescPackaging: <<
Formerly maintained by Michael Wybrow

play a bit of a game to make sure systme-openssl -I comes
before libidn.
<<
DescPort: <<
libidn is not in public interface so move to .private in .pc.
<<
License: LGPL
Maintainer: None
Homepage: http://www.loudmouth-project.org
#####
Depends: %N-shlibs (= %v-%r)
BuildDepends: <<
check,
fink (>= 0.24.12-1),
gtk-doc,
glib2-dev (>= 2.20.0-1),
libgettext3-dev,
libiconv-dev,
libidn,
pkgconfig (>= 0.23),
system-openssl-dev
<<
BuildDependsOnly: true
#####
#Source: http://ftp.imendio.com/pub/imendio/loudmouth/src/loudmouth-%v.tar.bz2
Source: mirror:gnome:sources/%n/1.4/%n-%v.tar.bz2
Source-MD5: 55339ca42494690c3942ee1465a96937
PatchFile: %n.patch
PatchFile-MD5: 91222fa5451707c332a4c1723d3c8f62
PatchScript: <<
%{default_script}
perl -pi.bak -e 's/(glib-2.0 >= \\?\$GLIB2_REQUIRED)/openssl \1/g' configure
<<
#####
SetCPPFLAGS: -I%p/lib/system-openssl/include
SetLDFLAGS: -L%p/lib/system-openssl/lib
ConfigureParams: --with-ssl=openssl --disable-dependency-tracking --enable-gtk-doc PKG_CONFIG_PATH="%p/lib/system-openssl/lib/pkgconfig:$PKG_CONFIG_PATH"

CompileScript: <<
./configure %c
make
<<
InstallScript: make install DESTDIR=%d
#####
SplitOff: <<
Package: %N-shlibs
Depends: <<
glib2-shlibs (>= 2.20.0-1),
libgettext3-shlibs,
libiconv,
libidn-shlibs
<<
Files: lib/libloudmouth-1.0*.dylib
Shlibs: %p/lib/libloudmouth-1.0.dylib 2.0.0 %n (>= 1.4.2-1)
Docfiles: AUTHORS CONTRIBUTORS COPYING ChangeLog NEWS README
<<
#####
DocFiles: AUTHORS CONTRIBUTORS COPYING ChangeLog NEWS README

loudmouth stable port .patch

diff -Nurd -x'*~' loudmouth-1.4.2.orig/loudmouth-1.0.pc.in loudmouth-1.4.2/loudmouth-1.0.pc.in
--- loudmouth-1.4.2.orig/loudmouth-1.0.pc.in 2008-08-28 04:18:32.000000000 -0400
+++ loudmouth-1.4.2/loudmouth-1.0.pc.in 2008-08-29 01:22:01.000000000 -0400
@@ -6,6 +6,7 @@
Name: libloudmouth
Description: libloudmouth
Requires: glib-2.0
+Requires.private: libidn
Version: @VERSION@
-Libs: -L${libdir} -lloudmouth-1 @LIBIDN_LIBS@
+Libs: -L${libdir} -lloudmouth-1
Cflags: -I${includedir}/loudmouth-1.0

loudmouth _unstable_ port .patch