/[gentoo-x86]/net-misc/nxclient/nxclient-3.0.0-r3.ebuild
Gentoo

Contents of /net-misc/nxclient/nxclient-3.0.0-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Jul 21 15:48:05 2008 UTC (11 years, 4 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Remove old 3.0/3.1 versions
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-gentoo x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient/nxclient-3.0.0-r3.ebuild,v 1.7 2008/02/08 10:04:37 voyageur Exp $
4
5 inherit eutils
6
7 MY_PV="${PV}-78"
8 DESCRIPTION="X11/VNC/NXServer client (remote desktops over low-bandwidth links)"
9 HOMEPAGE="http://www.nomachine.com/"
10 SRC_URI="amd64? ( http://64.34.161.181/download/${PV}/Linux/nxclient-${MY_PV}.x86_64.tar.gz )
11 x86? ( http://64.34.161.181/download/${PV}/Linux/nxclient-${MY_PV}.i386.tar.gz )"
12 LICENSE="nomachine"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE=""
16 RESTRICT="strip"
17
18 DEPEND=""
19 RDEPEND="dev-libs/expat
20 >=dev-libs/openssl-0.9.8e
21 media-libs/audiofile
22 media-libs/jpeg
23 media-libs/libpng
24 media-libs/freetype
25 media-libs/fontconfig
26 net-print/cups
27 x11-libs/libXft
28 x11-libs/libX11
29 x11-libs/libXdmcp
30 x11-libs/libXrender
31 x11-libs/libXau
32 x11-libs/libXext
33 sys-libs/zlib
34 !net-misc/nxclient-2xterminalserver"
35
36 S=${WORKDIR}/NX
37
38 src_install()
39 {
40 # we install nxclient into /usr/NX, to make sure it doesn't clash
41 # with libraries installed for FreeNX
42
43 for x in nxclient nxesd nxkill nxprint nxservice nxssh ; do
44 into /usr/NX
45 dobin bin/$x
46 into /usr
47 make_wrapper $x ./$x /usr/NX/bin /usr/NX/lib || die
48 done
49
50 dodir /usr/NX/lib
51 cp -P lib/libXcompsh.so* lib/libXcomp.so* "${D}"/usr/NX/lib
52
53 dodir /usr/NX/share
54 cp -R share "${D}"/usr/NX
55
56 # Add icons/desktop entries (missing in the tarball)
57 cd share/icons
58 for size in *; do
59 dodir /usr/share/icons/hicolor/${size}/apps
60 for icon in admin desktop icon wizard; do
61 dosym /usr/NX/share/icons/${size}/nxclient-${icon}.png \
62 /usr/share/icons/hicolor/${size}/apps
63 done
64 done
65 make_desktop_entry "nxclient" "NX Client" nxclient-icon
66 make_desktop_entry "nxclient -admin" "NX Session Administrator" nxclient-admin
67 make_desktop_entry "nxclient -wizard" "NX Connection Wizard" nxclient-wizard
68 }

  ViewVC Help
Powered by ViewVC 1.1.20