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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Thu Jan 15 15:27:35 2004 UTC (16 years ago) by aliz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
unmask and fixes

1 aliz 1.1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 aliz 1.3 # $Header: /home/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.2.9.ebuild,v 1.2 2003/09/05 22:01:49 msterret Exp $
4 aliz 1.1
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=">=x11-base/xfree-4.2.1
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 msterret 1.2 dodoc ChangeLog README WhatsNew
55 aliz 1.1 use java && dodoc ${FILESDIR}/README.JavaViewer
56     newdoc vncviewer/README README.vncviewer
57     }

  ViewVC Help
Powered by ViewVC 1.1.20