/[gentoo-x86]/net-misc/vnc/vnc-3.3.6.ebuild
Gentoo

Contents of /net-misc/vnc/vnc-3.3.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Tue Nov 11 15:57:50 2003 UTC (14 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
old

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/vnc/vnc-3.3.6.ebuild,v 1.7 2003/09/05 22:01:49 msterret Exp $
4
5 IUSE="java tcpd"
6
7 MY_P="${P}-unixsrc"
8
9 DESCRIPTION="Remote desktop viewer display system"
10 HOMEPAGE="http://www.realvnc.com/"
11
12 SRC_URI="http://www.realvnc.com/dist/${MY_P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="x86 -sparc -ppc"
17
18 DEPEND="tcpd? ( sys-apps/tcp-wrappers )"
19 RDEPEND="java? ( virtual/jre )"
20
21 S="${WORKDIR}/${MY_P}"
22
23 src_compile() {
24
25 export CXX="g++"
26
27 econf || die "./configure failed"
28
29 make
30
31 cd Xvnc
32 if use tcpd
33 then
34 make \
35 EXTRA_LIBRARIES="-lwrap -lnss_nis" \
36 CDEBUGFLAGS="${CFLAGS}" \
37 CXXFLAGS="${CFLAGS}" \
38 World || die
39 else
40 make \
41 CDEBUGFLAGS="${CFLAGS}" \
42 CXXFLAGS="${CFLAGS}" \
43 World || die
44 fi
45
46 }
47
48 src_install () {
49
50 dodir /usr/bin /usr/share/man/man1
51
52 ./vncinstall ${D}/usr/bin ${D}/usr/share/man || die
53
54 if use java
55 then
56 cd ${S}/classes
57 insinto /usr/share/vnc/classes
58 doins *.class *.jar *.vnc
59 fi
60
61 cd ${S}
62 dodoc LICENCE.TXT README
63
64 }
65

  ViewVC Help
Powered by ViewVC 1.1.20