1 |
# Copyright 1999-2009 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tsclient/tsclient-0.148.ebuild,v 1.7 2009/05/23 21:52:05 beandog Exp $ |
4 |
|
5 |
inherit eutils |
6 |
|
7 |
DESCRIPTION="GTK2 frontend for rdesktop" |
8 |
HOMEPAGE="http://www.gnomepro.com/tsclient" |
9 |
SRC_URI="http://www.gnomepro.com/${PN}/${P}.tar.gz" |
10 |
|
11 |
LICENSE="GPL-2" |
12 |
SLOT="0" |
13 |
KEYWORDS="alpha amd64 ia64 ppc sparc x86" |
14 |
IUSE="debug vnc" |
15 |
|
16 |
RDEPEND=">=x11-libs/gtk+-2.0 |
17 |
>=dev-libs/glib-2.0 |
18 |
>=net-misc/rdesktop-1.3.0 |
19 |
>=gnome-base/libgnomeui-2.0 |
20 |
>=gnome-base/gnome-panel-2.0 |
21 |
vnc? ( |
22 |
|| ( |
23 |
net-misc/vnc |
24 |
net-misc/tightvnc ) )" |
25 |
|
26 |
DEPEND="${RDEPEND} |
27 |
>=dev-util/intltool-0.27 |
28 |
dev-util/pkgconfig" |
29 |
|
30 |
src_compile() { |
31 |
econf $(use_enable debug) || die "configure failed" |
32 |
emake || die "make failed" |
33 |
} |
34 |
|
35 |
src_install() { |
36 |
make DESTDIR=${D} install || die "install failed" |
37 |
dodoc AUTHORS NEWS README |
38 |
} |
39 |
|
40 |
pkg_postinst() { |
41 |
if use vnc |
42 |
then |
43 |
ewarn "VNC support is still experimental. Be sure to read" |
44 |
ewarn "/usr/share/doc/${PF}/README.gz for more infomration." |
45 |
echo |
46 |
fi |
47 |
} |