# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient/nxclient-2.1.0-r1.ebuild,v 1.1 2007/03/17 16:32:39 voyageur Exp $ inherit eutils DESCRIPTION="NXClient is a X11/VNC/NXServer client especially tuned for using remote desktops over low-bandwidth links such as the Internet" HOMEPAGE="http://www.nomachine.com/" SRC_URI="http://64.34.161.181/download/2.1.0/Linux/nxclient-2.1.0-17.i386.tar.gz" LICENSE="nomachine" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RESTRICT="nostrip" DEPEND="" RDEPEND=" x86? ( dev-libs/expat dev-libs/openssl media-libs/audiofile media-libs/jpeg media-libs/libpng media-libs/freetype media-libs/fontconfig net-print/cups x11-libs/libXft x11-libs/libX11 x11-libs/libXdmcp x11-libs/libXrender x11-libs/libXau x11-libs/libXext sys-libs/lib-compat sys-libs/zlib ) amd64? ( app-emulation/emul-linux-x86-compat app-emulation/emul-linux-x86-soundlibs app-emulation/emul-linux-x86-xlibs ) " S=${WORKDIR}/NX src_install() { # we install nxclient into /usr/NX, to make sure it doesn't clash # with libraries installed for FreeNX for x in nxclient nxesd nxkill nxprint nxservice nxssh ; do into /usr/NX dobin bin/$x into /usr make_wrapper $x ./$x /usr/NX/bin /usr/NX/lib || die done dodir /usr/NX/lib cp -P lib/libXcompsh.so* lib/libXcomp.so* ${D}/usr/NX/lib dodir /usr/NX/share cp -R share ${D}/usr/NX # Add icons/desktop entries (missing in the tarball) doicon share/icons/*.png make_desktop_entry "nxclient" "NX Client" nx-desktop.png make_desktop_entry "nxclient -admin" "NX Session Administrator" nxclient-admin.png make_desktop_entry "nxclient -wizard" "NX Connection Wizard" nxclient-wizard.png }