diff options
Diffstat (limited to 'net-misc/vnc/vnc-3.3.4.ebuild')
-rw-r--r-- | net-misc/vnc/vnc-3.3.4.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/net-misc/vnc/vnc-3.3.4.ebuild b/net-misc/vnc/vnc-3.3.4.ebuild new file mode 100644 index 000000000000..1c6b9e7fde9f --- /dev/null +++ b/net-misc/vnc/vnc-3.3.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-3.3.4.ebuild,v 1.1 2002/09/27 02:22:55 bcowan Exp $ + +MY_P="${P}-unixsrc" + +DESCRIPTION="Remote desktop viewer display system" +HOMEPAGE="http://www.realvnc.com/" + +SRC_URI="http://www.realvnc.com/dist/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND="tcpd? ( sys-apps/tcp-wrappers )" +RDEPEND="java? ( virtual/jre )" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + + ./configure \ + --host=${CHOST} \ + --prefix=/usr || die "./configure failed" + emake + + cd Xvnc + if use tcpd + then + make \ + EXTRA_LIBRARIES="-lwrap -lnss_nis" \ + CDEBUGFLAGS="${CFLAGS}" \ + World || die + else + make \ + CDEBUGFLAGS="${CFLAGS}" \ + World || die + fi +} + +src_install () { + + dodir /usr/bin /usr/share/man/man1 + ./vncinstall ${D}/usr/bin ${D}/usr/share/man || die + + if use java + then + cd ${S}/classes + insinto /usr/share/vnc/classes + doins *.class *.jar *.vnc + fi + + cd ${S} + dodoc LICENCE.TXT README +} + |