summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-12-25 21:00:41 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-12-25 21:00:41 +0100
commit409a86b6b39ecec910a27f0e6d464fc84cb60ff6 (patch)
tree107b8353de867632f1ae4fb66d916307772ad4ad /net-misc
parentdev-libs/libbytesize: Added dev-libs/mpfr to RDEPEND. (diff)
downloadgentoo-409a86b6b39ecec910a27f0e6d464fc84cb60ff6.tar.gz
gentoo-409a86b6b39ecec910a27f0e6d464fc84cb60ff6.tar.bz2
gentoo-409a86b6b39ecec910a27f0e6d464fc84cb60ff6.zip
net-misc/ssvnc: Update EAPI
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/ssvnc/ssvnc-1.0.29-r1.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/net-misc/ssvnc/ssvnc-1.0.29-r1.ebuild b/net-misc/ssvnc/ssvnc-1.0.29-r1.ebuild
new file mode 100644
index 000000000000..d0524154cc1c
--- /dev/null
+++ b/net-misc/ssvnc/ssvnc-1.0.29-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="VNC viewer that adds encryption security to VNC connections"
+HOMEPAGE="http://www.karlrunge.com/x11vnc/ssvnc.html"
+SRC_URI="mirror://sourceforge/ssvnc/${P}.src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="java"
+
+RDEPEND="sys-libs/zlib
+ virtual/jpeg
+ dev-libs/openssl
+ dev-lang/tk
+ net-misc/stunnel
+ java? ( virtual/jre )
+ x11-terms/xterm
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXaw
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXp
+ x11-libs/libXpm
+ x11-libs/libXt"
+DEPEND="${RDEPEND}
+ java? ( virtual/jdk )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.29-build.patch )
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "/^LIB/s:lib/:$(get_libdir)/:" \
+ -e "$(use java || echo '/^JSRC/s:=.*:=:')" \
+ Makefile || die
+ sed -i \
+ -e '/^CC/s:=.*:+= $(CFLAGS) $(CPPFLAGS) $(LDFLAGS):' \
+ vncstorepw/Makefile || die
+
+ cp "${FILESDIR}"/Makefile.libvncauth vnc_unixsrc/libvncauth/Makefile || die
+ cd "${S}"/vnc_unixsrc/vncviewer || die
+ sed -n '/^SRCS/,/^$/p' Imakefile > Makefile.in || die
+ cp "${FILESDIR}"/Makefile.vncviewer Makefile || die
+}
+
+src_compile() {
+ tc-export AR CC CXX RANLIB
+ emake all
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+ dodoc README
+}