/[gentoo-x86]/net-misc/grdesktop/grdesktop-0.22-r1.ebuild
Gentoo

Contents of /net-misc/grdesktop/grdesktop-0.22-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Sat Jan 12 13:22:18 2008 UTC (12 years ago) by leio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Remove old and add missing pkgconfig dep, bug 205437
(Portage version: 2.1.4_rc14)

1 allanonjl 1.9 # Copyright 1999-2006 Gentoo Foundation
2 cyfred 1.1 # Distributed under the terms of the GNU General Public License v2
3 leio 1.10 # $Header: /var/cvsroot/gentoo-x86/net-misc/grdesktop/grdesktop-0.22-r1.ebuild,v 1.9 2006/03/16 13:08:31 allanonjl Exp $
4 agriffis 1.4
5     inherit eutils
6 cyfred 1.1
7     DESCRIPTION="Gtk2 frontend for rdesktop"
8 leonardop 1.5 HOMEPAGE="http://www.nongnu.org/grdesktop/"
9 cyfred 1.1 SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13 weeve 1.8 KEYWORDS="x86 sparc amd64"
14 cyfred 1.1
15 leonardop 1.5 IUSE="doc"
16 cyfred 1.1
17 cyfred 1.2 RDEPEND=">=x11-libs/gtk+-2.0.6-r3
18 cyfred 1.1 >=net-misc/rdesktop-1.1.0.19.9.0
19 cyfred 1.2 >=gnome-base/libgnomeui-2.2
20     >=gnome-base/gconf-2"
21 cyfred 1.1
22 cyfred 1.2 DEPEND="${RDEPEND}
23     doc? ( app-text/docbook2X )
24     app-text/scrollkeeper"
25 cyfred 1.1
26 leonardop 1.5 src_unpack() {
27     unpack ${A}
28     cd ${S}
29    
30     # Fix invalid C code that breaks compilation under gcc 2.
31     epatch ${FILESDIR}/${P}-gcc2_fix.patch
32    
33     # Correct icon path. See bug #50295.
34     sed -i -e 's:Icon=.*:Icon=grdesktop/icon.png:' grdesktop.desktop
35 allanonjl 1.9
36     gnome2_omf_fix
37 leonardop 1.5 }
38 cyfred 1.1
39     src_compile() {
40     econf \
41     --with-keymap-path=/usr/share/rdesktop/keymaps \
42     --localstatedir=${D}/var/lib || die "./configure failed"
43    
44 cyfred 1.2 # For some reason we have duplicate syntax in Makefiles, removing
45     epatch ${FILESDIR}/0010_all_0.22-remove-double-makefile-syntax.patch
46    
47 cyfred 1.1 emake || die
48     }
49    
50     src_install() {
51     #einstall
52     make DESTDIR=${D} install || die "couldnt install"
53    
54     dodoc AUTHORS ABOUT-NLS COPYING ChangeLog INSTALL NEWS README TODO
55     }

  ViewVC Help
Powered by ViewVC 1.1.20