blob: 40fd328c077303e08cd08a8ce361d3976a0f92c2 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/openc6/openc6-0.9.9.ebuild,v 1.1 2007/04/26 13:58:15 drizzt Exp $
inherit kde-functions
DESCRIPTION="An open source C6 client"
HOMEPAGE="http://openc6.sourceforge.net/"
SRC_URI="mirror://sourceforge/openc6/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="kde"
DEPEND="kde? ( >=kde-base/kdelibs-3.0.0 )"
need-qt 3.1
src_compile() {
econf || die
emake || die
if use kde; then
einfo "Compiling KDE systray plugin"
cd "${S}"/plugins/kdegui
econf --without-arts --prefix="${ROOT}"/usr/share/OpenC6 || die
emake || die
fi
}
src_install() {
emake DESTDIR="${D}" install || die
if use kde; then
cd "${S}"/plugins/kdegui
emake DESTDIR="${D}" install || die
fi
}
|