SUMMARY="MSN and XMPPprotocols for Caya"
HOMEPAGE="http://dev.osdrawer.net/projects/caya-gpl-protocols" 
SRC_URI="svn+http://svn.osdrawer.net/caya-gpl-protocols/trunk#36"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"

#SUPPLEMENTS="caya"
PROVIDES="
	caya_gpl_protocols = $portVersion
	"
SUPPLEMENTS="caya"
BUILD_REQUIRES="
	caya
	lib:libssl
	devel:libssl
	devel:libz
	"
BUILD_PREREQUIRES="
	haiku_devel >= $haikuVersion
	cmd:jam
	cmd:gcc
	cmd:which
	"

PATCHES="caya_gpl_protocols-36.patchset"

BUILD()
{
	includeDir=$includeDir ./configure
	jam
}

INSTALL()
{
	mkdir -p $appsDir/Caya/protocols
	cp generated/distro-haiku-*-debug/msn $appsDir/Caya/protocols
	cp generated/distro-haiku-*-debug/gtalk $appsDir/Caya/protocols
	cp generated/distro-haiku-*-debug/facebook $appsDir/Caya/protocols
	cp generated/distro-haiku-*-debug/jabber $appsDir/Caya/protocols
	cp generated/distro-haiku-*-debug/yahoo $appsDir/Caya/protocols
}

LICENSE="GNU GPL v2"
COPYRIGHT="2010-2011 Casalinuovo Dario
	2009-2011 Pierluigi Fiorini
	2010-2011 Oliver Ruiz Dorantes"
DESCRIPTION="
Caya is a multi-protocol IM client. This package enables support for XMPP \
(jabber, google talk, facebook) and MSN protocols.
"
