diff options
author | 2009-02-03 01:57:26 +0000 | |
---|---|---|
committer | 2009-02-03 01:57:26 +0000 | |
commit | 6eab5c6c5445a5768c0bf098e3e43c7b31665e69 (patch) | |
tree | 6a247038e9047ae6f12a5ea3394329185737bf96 /net-misc/ssvnc/ssvnc-1.0.22.ebuild | |
parent | Commented the opensync use flag description has it's disable until a new vers... (diff) | |
download | historical-6eab5c6c5445a5768c0bf098e3e43c7b31665e69.tar.gz historical-6eab5c6c5445a5768c0bf098e3e43c7b31665e69.tar.bz2 historical-6eab5c6c5445a5768c0bf098e3e43c7b31665e69.zip |
Initial package by me.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-misc/ssvnc/ssvnc-1.0.22.ebuild')
-rw-r--r-- | net-misc/ssvnc/ssvnc-1.0.22.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/net-misc/ssvnc/ssvnc-1.0.22.ebuild b/net-misc/ssvnc/ssvnc-1.0.22.ebuild new file mode 100644 index 000000000000..e44e0d136486 --- /dev/null +++ b/net-misc/ssvnc/ssvnc-1.0.22.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ssvnc/ssvnc-1.0.22.ebuild,v 1.1 2009/02/03 01:57:26 vapier Exp $ + +inherit eutils multilib + +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" +IUSE="java" + +RDEPEND="sys-libs/zlib + media-libs/jpeg + dev-libs/openssl + java? ( virtual/jre ) + 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 ) + x11-misc/imake" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch + epatch "${FILESDIR}"/${P}-optional-java.patch + sed -i \ + -e '/CXXDEBUGFLAGS =/s:-O2:$(CXXFLAGS):' \ + -e '/CDEBUGFLAGS =/s:-O2:$(CFLAGS):' \ + vnc_unixsrc/vncviewer/Makefile + sed -i \ + -e "/^LIB/s:lib/:$(get_libdir)/:" \ + -e $(use java || echo '/^JSRC/s:=.*:=:') \ + Makefile +} + +src_compile() { + emake || die + emake all || die +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc README +} |