summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2002-11-27 17:59:43 +0000
committerMartin Holzer <mholzer@gentoo.org>2002-11-27 17:59:43 +0000
commit0d81a34540924b818907b5664b43bcd94a252327 (patch)
treeb8f5e41dd42a002f521f49c2aaa0c218bf5a8df1 /net-misc/vnc
parentAdded mysql dependency. Fixes #5165. (diff)
downloadgentoo-2-0d81a34540924b818907b5664b43bcd94a252327.tar.gz
gentoo-2-0d81a34540924b818907b5664b43bcd94a252327.tar.bz2
gentoo-2-0d81a34540924b818907b5664b43bcd94a252327.zip
Rechanged make to emake, added dependency and added compilerflags.
Diffstat (limited to 'net-misc/vnc')
-rw-r--r--net-misc/vnc/ChangeLog6
-rw-r--r--net-misc/vnc/files/digest-vnc-3.3.5-r11
-rw-r--r--net-misc/vnc/vnc-3.3.5-r1.ebuild67
3 files changed, 73 insertions, 1 deletions
diff --git a/net-misc/vnc/ChangeLog b/net-misc/vnc/ChangeLog
index 186419e772a7..4a4dc4ef2f83 100644
--- a/net-misc/vnc/ChangeLog
+++ b/net-misc/vnc/ChangeLog
@@ -1,9 +1,13 @@
# ChangeLog for net-misc/vnc
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/ChangeLog,v 1.9 2002/11/26 07:35:13 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/ChangeLog,v 1.10 2002/11/27 17:59:43 mholzer Exp $
*vnc-3.3.5 (18 Nov 2002)
+ 27 Nov 2002; Martin Holzer <mholzer@gentoo.org> vnc-3.3.5-r1.ebuild :
+ Rechanged make to emake, added dependency and added compilerflags.
+ Fixed #11080.
+
26 Nov 2002; Nick Hadaway <raker@gentoo.org> vnc-3.3.5.ebuild :
Changed emake to make. This should clear up compile issues found
on gcc2 systems.
diff --git a/net-misc/vnc/files/digest-vnc-3.3.5-r1 b/net-misc/vnc/files/digest-vnc-3.3.5-r1
new file mode 100644
index 000000000000..55cdea9793e1
--- /dev/null
+++ b/net-misc/vnc/files/digest-vnc-3.3.5-r1
@@ -0,0 +1 @@
+MD5 cd1d0cfa4ae7d43d3cbf994b40018f3e vnc-3.3.5-unixsrc.tar.gz 2158661
diff --git a/net-misc/vnc/vnc-3.3.5-r1.ebuild b/net-misc/vnc/vnc-3.3.5-r1.ebuild
new file mode 100644
index 000000000000..d4da9face4b9
--- /dev/null
+++ b/net-misc/vnc/vnc-3.3.5-r1.ebuild
@@ -0,0 +1,67 @@
+# 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.5-r1.ebuild,v 1.1 2002/11/27 17:59:43 mholzer Exp $
+
+IUSE="java tcpd"
+
+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 )
+ virtual/x11"
+
+RDEPEND="java? ( virtual/jre )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+
+ export CXX="g++"
+
+ econf || die "./configure failed"
+
+ emake || die
+
+ cd Xvnc
+ if use tcpd
+ then
+ make \
+ EXTRA_LIBRARIES="-lwrap -lnss_nis" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CFLAGS}" \
+ World || die
+ else
+ make \
+ CDEBUGFLAGS="${CFLAGS}" \
+ CXXFLAGS="${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
+
+}
+