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

Contents of /net-misc/nx-x11/nx-x11-1.5.0-r5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Apr 30 17:16:01 2006 UTC (13 years, 7 months ago) by stuart
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Sync from nx overlay
(Portage version: 2.0.54)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/nx-x11/nx-x11-1.5.0-r5.ebuild,v 1.1 2006/03/05 13:21:33 stuart Exp $
4
5 inherit eutils
6
7 DESCRIPTION="A special version of the X11 libraries supporting NX compression technology"
8 HOMEPAGE="http://www.nomachine.com/developers.php"
9 URI_BASE="http://64.34.161.181/download/1.5.0/sources/"
10 SRC_NX_X11="nx-X11-$PV-21.tar.gz"
11 SRC_NXAGENT="nxagent-$PV-112.tar.gz"
12 SRC_NXAUTH="nxauth-$PV-1.tar.gz"
13 SRC_NXCOMP="nxcomp-$PV-80.tar.gz"
14 SRC_NXCOMPEXT="nxcompext-$PV-20.tar.gz"
15 SRC_NXVIEWER="nxviewer-$PV-15.tar.gz"
16 SRC_NXDESKTOP="nxdesktop-$PV-78.tar.gz"
17 SRC_NXESD="nxesd-$PV-3.tar.gz"
18 SRC_URI="$URI_BASE/$SRC_NX_X11 $URI_BASE/$SRC_NXAGENT $URI_BASE/$SRC_NXAUTH $URI_BASE/$SRC_NXCOMP $URI_BASE/$SRC_NXCOMPEXT $URI_BASE/$SRC_NXVIEWER $URI_BASE/$SRC_NXDESKTOP $URI_BASE/$SRC_NXESD"
19 LICENSE="GPL-2"
20 SLOT="0"
21 KEYWORDS="~x86"
22 IUSE=""
23 #RESTRICT="nostrip"
24 DEPEND="virtual/x11
25 media-libs/jpeg"
26 #RDEPEND=""
27 S=${WORKDIR}/${PN//x11/X11}
28
29 src_unpack() {
30 # we can't use ${A} because of bug #61977
31 unpack ${SRC_NX_X11}
32 unpack ${SRC_NXAGENT}
33 unpack ${SRC_NXAUTH}
34 unpack ${SRC_NXCOMP}
35 unpack ${SRC_NXCOMPEXT}
36 unpack ${SRC_NXVIEWER}
37 unpack ${SRC_NXDESKTOP}
38 unpack ${SRC_NXESD}
39
40 cd ${S}
41 epatch ${FILESDIR}/1.5.0/nx-x11-windows-linux-resume.patch
42 cd ../nxcomp
43 epatch ${FILESDIR}/1.5.0/nxcomp-gcc4.patch
44 }
45
46 src_compile() {
47 emake World || die "unable to build nx-11"
48
49 cd ../nxviewer
50 xmkmf || die "unable to create makefile for nxviewer"
51 emake World || die "unable to make nxviewer"
52
53 cd ../nxdesktop
54 ./configure --prefix=/usr/NX --mandir=/usr/share/man --sharedir=/usr/share || die "Unable to configure nxdesktop"
55 emake || die "Unable to build nxdesktop"
56
57 return
58
59 # mxesd support will have to wait for a later release
60
61 cd ../nxesd
62 econf --prefix=/usr/NX || die "Unable to configure nxesd"
63 emake || die "Unable to build nxesd"
64 }
65
66 src_install() {
67 into /usr/NX
68
69 dobin programs/Xserver/nxagent
70 dobin programs/nxauth/nxauth
71 dobin ../nxviewer/nxviewer/nxviewer
72 dobin ../nxviewer/nxpasswd/nxpasswd
73 dobin ../nxdesktop/nxdesktop
74
75 pushd lib/X11/
76 dolib libX11.so.6.2
77 dolib libX11.so
78 popd
79
80 pushd lib/Xext/
81 dolib libXext.so.6.4
82 dolib libXext.so
83 popd
84
85 pushd lib/Xrender/
86 dolib libXrender.so.1.2
87 dolib libXrender.so
88 popd
89
90 pushd ../nxcomp/
91 dolib libXcomp.so.1.5.0
92 dolib libXcomp.so
93 popd
94
95 pushd ../nxcompext/
96 dolib libXcompext.so.1.5.0
97 dolib libXcompext.so
98 popd
99
100 preplib /usr/NX
101
102 insinto /usr/X11R6/include
103 doins ../nxcomp/NX.h
104
105 insinto /etc/env.d
106 doins ${FILESDIR}/1.5.0/50nx-x11
107
108 dodir /var/lib/nxserver
109
110 return
111
112 cd ../nxesd
113 emake DESTDIR=${D} install || die "unable to install nxesd"
114 }

  ViewVC Help
Powered by ViewVC 1.1.20