summaryrefslogtreecommitdiff
blob: 2577946c674e42cd8a6bed63e98fae186fb5a2f9 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header $

inherit rpm

DESCRIPTION="NXClient is a X11/VNC/NXServer client especially tuned for using remote desktops over low-bandwidth links such as the Internet"
HOMEPAGE="www.nomachine.com"

IUSE=""
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 -ppc -sparc -alpha -mips"
RESTRICT="nostrip"

# this ebuild deals with release 31 of NXClient 1.2.2
MY_PV="${PV}-31"
SRC_URI="http://www.nomachine.com/download/nxclient/RedHat-9.0/nxclient-${MY_PV}.i386.rpm"

DEPEND=">=media-libs/jpeg-6b-r3
        >=sys-libs/glibc-2.3.2-r1
		>=sys-libs/zlib-1.1.4-r1
		>=x11-base/xfree-4.3.0-r2
		>=net-misc/nxssh-1.2.2
		>=net-misc/nxproxy-1.2.2
		>=dev-libs/expat-1.95.6-r1
		>=media-libs/fontconfig-2.2.0-r2
		>=media-libs/freetype-2.1.4
		>=media-libs/jpeg-6b-r3"

S="${WORKDIR}"

src_compile() {
	return;
}

src_install() {
	exeinto /usr/NX/bin
	doexe usr/NX/bin/nxartsdstatus
	doexe usr/NX/bin/nxclient
#	doexe usr/NX/bin/nxproxy
#	doexe usr/NX/bin/nxssh

#	insinto /usr/NX/lib
#	dolib usr/NX/lib/libXcomp.so.1.2.2

    insinto /usr/NX/share
	doins usr/NX/share/client.id_dsa.key
	insinto /usr/NX/share/icons
	doins usr/NX/share/icons/*
	insinto /usr/NX/share/images
	doins usr/NX/share/images/*.png

	insinto /etc/env.d
	doins ${FILESDIR}/${PVR}/50nxclient

	insinto /usr/kde/3.1/share/applnk/Internet
	doins "usr/NX/share/applnk/NX Client for Linux/nxclient-admin.desktop"
	doins "usr/NX/share/applnk/NX Client for Linux/nxclient-help.desktop"
	doins "usr/NX/share/applnk/NX Client for Linux/nxclient-wizard.desktop"
	doins "usr/NX/share/applnk/NX Client for Linux/nxclient.desktop"
}