blob: 8f25721048a3a0dd81fc512c8e92025fa7647233 (
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
45
46
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/telepathy-inspector/telepathy-inspector-0.5.0.ebuild,v 1.3 2008/01/13 14:59:09 coldwind Exp $
inherit eutils flag-o-matic
DESCRIPTION="The swiss-army knife of every Telepathy developer."
HOMEPAGE="http://telepathy.freedesktop.org/wiki/TelepathyInspector"
SRC_URI="mirror://sourceforge/tapioca-voip/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
RDEPEND=">=dev-libs/glib-2
>=x11-libs/gtk+-2
gnome-base/libglade
dev-libs/dbus-glib"
DEPEND="${RDEPEND}
dev-util/scons
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-scons.patch"
}
src_compile() {
replace-flags -O? -O1
local myopts
if use debug ; then
myopts="DEBUG=yes"
else
myopts="DEBUG=no"
fi
scons CONFIGURE=yes DESTDIR="${D}" PREFIX=/usr \
${myopts} || die "scons failed"
}
src_install() {
scons install || die "scons install failed"
dodoc README ChangeLog || die "dodoc failed"
}
|