/[gentoo-x86]/net-misc/nxclient/nxclient-1.5.0-r5.ebuild
Gentoo

Contents of /net-misc/nxclient/nxclient-1.5.0-r5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Aug 10 18:03:28 2007 UTC (12 years, 4 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Removing old NX 1.5 version
(Portage version: 2.1.3.3)

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/nxclient/nxclient-1.5.0-r5.ebuild,v 1.5 2007/07/02 15:03:12 peper Exp $
4
5 inherit rpm
6
7 DESCRIPTION="NXClient is a X11/VNC/NXServer client especially tuned for using remote desktops over low-bandwidth links such as the Internet"
8 HOMEPAGE="http://www.nomachine.com"
9
10 IUSE=""
11 LICENSE="nomachine"
12 SLOT="0"
13 RESTRICT="strip"
14 SRC_URI="http://web04.nomachine.com/download/1.5.0/client/${P}-141.i386.rpm"
15
16 # This is only supported upstream on 32-bit x86.
17 # Do _not_ mark it for any other arches.
18 KEYWORDS="x86"
19
20 DEPEND="
21 net-analyzer/gnu-netcat
22 amd64? (
23 app-emulation/emul-linux-x86-compat
24 >=app-emulation/emul-linux-x86-baselibs-2.1.4
25 >=app-emulation/emul-linux-x86-xlibs-2.2.1
26 )
27 x86? (
28 >=dev-libs/expat-1.95.7
29 >=media-libs/fontconfig-2.2.2
30 >=media-libs/freetype-2.1.9
31 sys-libs/lib-compat
32 )
33 !net-misc/nxclient-2xterminalserver"
34
35 RDEPEND="${DEPEND}"
36
37 S=${WORKDIR}
38
39 src_unpack() {
40 rpm_src_unpack
41 }
42
43 src_install()
44 {
45 # we install nxclient into /usr/NX ;
46 # this location is reserved for NoMachine's binary releases only
47 cp -dPR usr ${D}
48
49 # install a wrapper script for nxclient
50 newbin ${FILESDIR}/nxwrapper nxclient
51
52 # FIXME: Of the options in the applnk directory, the desktop files in the
53 # "network" directory seem to make the most sense. I have no idea if this
54 # works for KDE or just for Gnome.
55 declare applnk=/usr/NX/share/applnk apps=/usr/share/applications
56 if [[ -d ${D}${applnk} ]]; then
57 dodir ${apps}
58 mv ${D}${applnk}/network/*.desktop ${D}${apps}
59 rm ${D}${apps}/nxclient-help.desktop
60 rm -rf ${D}${applnk}
61 fi
62 }

  ViewVC Help
Powered by ViewVC 1.1.20