/[gentoo-x86]/net-misc/nxclient/nxclient-3.2.0-r1.ebuild
Gentoo

Contents of /net-misc/nxclient/nxclient-3.2.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Jul 16 21:09:06 2008 UTC (11 years, 6 months ago) by voyageur
Branch: MAIN
First Maintenance Release, minor bugfixes
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 x86_64)

1 voyageur 1.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.2.0.ebuild,v 1.3 2008/06/05 15:09:18 pva Exp $
4    
5     inherit eutils
6    
7     MY_PV="${PV}-13"
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