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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 vapier 1.4 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 verwilst 1.1 # Distributed under the terms of the GNU General Public License v2
3 aliz 1.6 # $Header: /home/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.2.6.ebuild,v 1.5 2003/03/11 21:11:46 seemant Exp $
4 verwilst 1.1
5     S="${WORKDIR}/vnc_unixsrc"
6     DESCRIPTION="A great client/server software package allowing remote network access to graphical desktops."
7     SRC_URI="mirror://sourceforge/vnc-tight/${P}_unixsrc.tar.bz2"
8 vapier 1.3 HOMEPAGE="http://www.tightvnc.com/"
9    
10 gerk 1.2 KEYWORDS="x86 ppc alpha"
11 verwilst 1.1 LICENSE="GPL-2"
12     SLOT="0"
13 vapier 1.3
14 verwilst 1.1 DEPEND="virtual/x11
15 seemant 1.5 dev-lang/perl
16 verwilst 1.1 ~media-libs/jpeg-6b
17     sys-libs/zlib"
18    
19     src_unpack() {
20     unpack ${A} ; cd ${S}
21     #patch <${FILESDIR}/tightvnc-gentoo.diff || die
22    
23     # fix #6814
24     cp vncserver vncserver.orig
25     sed -e 's%^if (!xauthorityFile) {%if (!\$xauthorityFile) {%' \
26     vncserver.orig > vncserver
27     }
28    
29     src_compile() {
30     xmkmf || die
31     make World || die
32     cd Xvnc
33     ./configure || die
34     make || die
35     }
36    
37     src_install() {
38 vapier 1.3 dodir /usr/man
39     dodir /usr/man/man1
40     dodir /usr/bin
41 verwilst 1.1
42     # fix the web based interface, it needs the java class files
43 vapier 1.3 dodir /usr/share/tightvnc
44     dodir /usr/share/tightvnc/classes
45 verwilst 1.1 insinto /usr/share/tightvnc/classes ; doins classes/*
46    
47     # and then patch vncserver to point to /usr/share/tightvnc/classes
48     patch -p0 < ${FILESDIR}/tightvnc-gentoo.diff || die
49    
50     ./vncinstall ${D}/usr/bin ${D}/usr/man || die
51     }

  ViewVC Help
Powered by ViewVC 1.1.20