1 |
# Copyright 1999-2007 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/kphone/kphone-4.1.0.ebuild,v 1.5 2007/07/12 02:52:15 mr_bones_ Exp $ |
4 |
|
5 |
inherit eutils kde |
6 |
|
7 |
DESCRIPTION="A SIP user agent for Linux, with which you can initiate VoIP connections over the Internet." |
8 |
HOMEPAGE="http://www.wirlab.net/kphone/index.html" |
9 |
SRC_URI="http://www.wirlab.net/kphone/${P}.tar.gz" |
10 |
|
11 |
KEYWORDS="x86 ~amd64 sparc ~ppc" |
12 |
LICENSE="GPL-2" |
13 |
|
14 |
IUSE="alsa jack" |
15 |
SLOT="0" |
16 |
|
17 |
S=${WORKDIR}/kphone |
18 |
|
19 |
DEPEND="alsa? ( media-libs/alsa-lib ) |
20 |
jack? ( media-sound/jack-audio-connection-kit )" |
21 |
|
22 |
need-kde 3 |
23 |
|
24 |
src_unpack() { |
25 |
unpack ${A} |
26 |
|
27 |
cd ${S} |
28 |
epatch ${FILESDIR}/${P}-Makefiles.patch |
29 |
} |
30 |
|
31 |
src_compile(){ |
32 |
# Fix for our kde location |
33 |
myconf="$myconf --with-extra-libs=$KDEDIR/lib --prefix=/usr `use_enable alsa` `use_enable jack`" |
34 |
econf ${myconf} || die "econf failed" |
35 |
emake |
36 |
} |