summaryrefslogtreecommitdiff
blob: 78482fd6c6b50f84d23ca1f2f90f21d129c416e9 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.9.2-r1.ebuild,v 1.1 2004/12/27 11:47:01 humpback Exp $

IUSE="kde ssl crypt"
RESTRICT="nomirror"
QV="2.0"
SRC_URI="mirror://sourceforge/psi/${P}.tar.bz2"
DESCRIPTION="QT 3.x Jabber Client, with Licq-like interface"
HOMEPAGE="http://psi.affinix.com"

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

DEPEND="ssl? ( >=dev-libs/openssl-0.9.6c >=app-crypt/qca-tls-1.0 )
	crypt? ( >=app-crypt/gnupg-1.2.2 )
	>=x11-libs/qt-3"

src_compile() {
	use kde || myconf="${myconf} --disable-kde"
	./configure --prefix=/usr $myconf || die
	# for CXXFLAGS from make.conf
	qmake psi.pro \
		QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
		QMAKE_RPATH=

	addwrite "$HOME/.qt"
	addwrite "$QTDIR/etc/settings"
	emake || die
}

src_install() {
	dodoc README TODO
	make INSTALL_ROOT="${D}" install
	#this away the docs will also be installed in the standard gentoo dir
	for i in roster system emoticons; do
		newdoc ${S}/iconsets/${i}/README README.${i}
	done;
	newdoc certs/README README.certs
}