summaryrefslogtreecommitdiff
path: root/net-im/spectrum/spectrum-9999.ebuild
blob: 914d6c540c5cb72a54afcf59a50efc5c1cad4cc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit cmake-utils git

DESCRIPTION="A new xmpp transport based on libpurple"
HOMEPAGE="http://spectrum.im"

EGIT_PROJECT="spectrum"
EGIT_REPO_URI="git://github.com/hanzz/${EGIT_PROJECT}.git"
EGIT_TREE="master"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

RDEPEND="dev-libs/poco[sqlite]
	net-im/pidgin
	>=net-libs/gloox-1.0
	|| (
		dev-libs/poco[mysql]
		dev-libs/poco[sqlite]
	)"
DEPEND="${RDEPEND}
	sys-devel/gettext"

src_install () {
	cmake-utils_src_install

	#install init scripts and configs
	#insinto /etc/spectrum
	#for protocol in msn yahoo facebook icq myspace gg aim simple irc; do
#		sed -e 's,SPECTRUMGEN2PROTOCOL,'${protocol}',g' "${FILESDIR}/spectrum.cfg" > "${WORKDIR}/spectrum-${protocol}.cfg" || die
#		doins "${WORKDIR}/spectrum-${protocol}.cfg" || die

#		sed -e 's,SPECTRUMGEN2PROTOCOL,'${protocol}',g' "${FILESDIR}/spectrum.init" > "${WORKDIR}/spectrum-${protocol}" || die
#		doinitd "${WORKDIR}/spectrum-${protocol}" || die
#	done
}