/[gentoo-x86]/net-misc/nx-x11/nx-x11-1.4.0-r4.ebuild
Gentoo

Contents of /net-misc/nx-x11/nx-x11-1.4.0-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Mar 22 10:17:43 2007 UTC (12 years, 8 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Removed old versions (without modular X support)
(Portage version: 2.1.2.2)

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

  ViewVC Help
Powered by ViewVC 1.1.20