blob: 81bfde9d9221ef26724d7c027490f794b00d19a0 (
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
44
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/qtella/qtella-0.7.0-r1.ebuild,v 1.4 2005/09/12 17:31:55 mkay Exp $
inherit eutils kde-functions
SRC_URI="mirror://sourceforge/qtella/${P}.tar.gz"
HOMEPAGE="http://www.qtella.net"
DESCRIPTION="Excellent QT/KDE Gnutella Client"
LICENSE="GPL-2"
IUSE="kde"
KEYWORDS="~x86 ~ppc ~sparc"
SLOT="3" # why??
DEPEND="=x11-libs/qt-3*
kde? ( >=kde-base/kdelibs-3 )"
export MAKEOPTS="$MAKEOPTS -j1"
src_unpack() {
unpack ${A}
cd ${S}
if ! use kde; then
epatch ${FILESDIR}/${PV}-nokde.patch
fi
epatch ${FILESDIR}/${P}-errno.patch
}
src_compile() {
set-qtdir 3
set-kdedir 3
local myconf
use kde || myconf="--with-kde=no"
econf ${myconf} || die
emake || die
}
src_install() {
emake DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}
|