/[gentoo-x86]/net-misc/tightvnc/tightvnc-1.2.8.ebuild
Gentoo

Contents of /net-misc/tightvnc/tightvnc-1.2.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Tue Feb 14 00:34:18 2006 UTC (13 years, 9 months ago) by morfic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Making gcc patch conditional + cleanup of old versions
(Portage version: 2.0.53_rc7)

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.2.8.ebuild,v 1.9 2004/10/03 07:00:41 spyderous Exp $
4
5 inherit eutils
6
7 IUSE="java tcpd"
8
9 S="${WORKDIR}/vnc_unixsrc"
10 DESCRIPTION="A great client/server software package allowing remote network access to graphical desktops."
11 SRC_URI="mirror://sourceforge/vnc-tight/${P}_unixsrc.tar.bz2"
12 HOMEPAGE="http://www.tightvnc.com/"
13
14 KEYWORDS="x86 ppc sparc alpha"
15 LICENSE="GPL-2"
16 SLOT="0"
17
18 DEPEND="virtual/x11
19 ~media-libs/jpeg-6b
20 sys-libs/zlib
21 tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )
22 !net-misc/vnc"
23
24 RDEPEND="${DEPEND}
25 dev-lang/perl
26 java? ( || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) )"
27
28 src_unpack() {
29 unpack ${A} && cd ${S}
30 epatch ${FILESDIR}/tightvnc-${PVR}-gentoo.diff
31 epatch ${FILESDIR}/${P}-gentoo.security.patch
32 }
33
34 src_compile() {
35 xmkmf -a || die "xmkmf failed"
36
37 make CDEBUGFLAGS="$CFLAGS" World || die "make World failed"
38 cd Xvnc && ./configure || die "Configure failed."
39
40 if use tcpd; then
41 make EXTRA_LIBRARIES="-lwrap -lnss_nis" CDEBUGFLAGS="$CFLAGS" EXTRA_DEFINES="-DUSE_LIBWRAP=1"
42 else
43 make CDEBUGFLAGS="$CFLAGS"
44 fi
45 }
46
47 src_install() {
48 # the web based interface and the java viewer need the java class files
49 insinto /usr/share/tightvnc/classes ; doins classes/*
50
51 dodir /usr/share/man/man1 /usr/bin
52 ./vncinstall ${D}/usr/bin ${D}/usr/share/man || die "vncinstall failed"
53
54 dodoc ChangeLog README WhatsNew
55 use java && dodoc ${FILESDIR}/README.JavaViewer
56 newdoc vncviewer/README README.vncviewer
57 }

  ViewVC Help
Powered by ViewVC 1.1.20