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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Nov 27 11:14:17 2003 UTC (16 years ago) by aliz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
New CVS patch, removed old ebuild

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

  ViewVC Help
Powered by ViewVC 1.1.20