1 |
# Copyright 1999-2003 Gentoo Technologies, Inc. |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# Author Bart Verwilst <verwilst@gentoo.org> |
4 |
# Modified by Ivan C. <navi_@hotmail.com> |
5 |
# $Header: /home/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.2.3-r2.ebuild,v 1.10 2003/06/12 21:53:50 msterret Exp $ |
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 ppc sparc alpha" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
15 |
|
16 |
DEPEND="virtual/glibc |
17 |
>=x11-base/xfree-4.1.0 |
18 |
>=dev-lang/perl-5.6.1 |
19 |
~media-libs/jpeg-6b |
20 |
>=sys-libs/zlib-1.1.4" |
21 |
|
22 |
src_compile() { |
23 |
xmkmf || die |
24 |
make World || die |
25 |
cd Xvnc |
26 |
make World || die |
27 |
} |
28 |
|
29 |
src_install() { |
30 |
dodir /usr/man |
31 |
dodir /usr/man/man1 |
32 |
dodir /usr/bin |
33 |
|
34 |
# fix the web based interface, it needs the java class files |
35 |
dodir /usr/share/tightvnc |
36 |
dodir /usr/share/tightvnc/classes |
37 |
insinto /usr/share/tightvnc/classes ; doins classes/* |
38 |
|
39 |
# and then patch vncserver to point to /usr/share/tightvnc/classes |
40 |
patch -p0 < ${FILESDIR}/tightvnc-gentoo.diff || die |
41 |
|
42 |
./vncinstall ${D}/usr/bin ${D}/usr/man || die |
43 |
} |