summaryrefslogtreecommitdiff
blob: de247dd6b618e9201683590a2f43756e47d924ed (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.3.8.ebuild,v 1.6 2005/07/07 04:58:28 caleb Exp $

inherit flag-o-matic

MY_P=${P/_/-}
DESCRIPTION="QT version of popular in Poland Gadu-Gadu IM network"
HOMEPAGE="http://kadu.net/"
SRC_URI="http://kadu.net/download/stable/${MY_P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="x86"

IUSE="kde debug voice extramodules"

DEPEND="=x11-libs/qt-3*
	kde? ( kde-base/arts )"

S=${WORKDIR}/${PN}

src_compile() {
	filter-flags -fno-rtti
	local myconf

	use kadu || myconf="${myconf} --disable-voice"
	use extramodules || myconf="${myconf} --disable-modules"
	use debug && myconf="${myconf} --enable-debug"
	econf ${myconf} || die
	emake || die
}

src_install() {
	make \
		DESTDIR=${D} \
		install || die
}