/[gentoo-x86]/net-misc/ssvnc/ssvnc-1.0.28.ebuild
Gentoo

Contents of /net-misc/ssvnc/ssvnc-1.0.28.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Dec 14 09:21:02 2011 UTC (8 years ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
x86 stable wrt bug #393735

(Portage version: 2.1.10.11/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/ssvnc/ssvnc-1.0.28.ebuild,v 1.5 2011/12/12 20:15:41 ago Exp $
4
5 EAPI="3"
6 inherit eutils multilib toolchain-funcs
7
8 DESCRIPTION="VNC viewer that adds encryption security to VNC connections"
9 HOMEPAGE="http://www.karlrunge.com/x11vnc/ssvnc.html"
10 SRC_URI="mirror://sourceforge/ssvnc/${P}.src.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86 ~x86-linux"
15 IUSE="java"
16
17 RDEPEND="sys-libs/zlib
18 virtual/jpeg
19 dev-libs/openssl
20 dev-lang/tk
21 net-misc/stunnel
22 java? ( virtual/jre )
23 x11-terms/xterm
24 x11-libs/libICE
25 x11-libs/libSM
26 x11-libs/libXaw
27 x11-libs/libX11
28 x11-libs/libXext
29 x11-libs/libXmu
30 x11-libs/libXp
31 x11-libs/libXpm
32 x11-libs/libXt"
33 DEPEND="${RDEPEND}
34 java? ( virtual/jdk )"
35
36 src_prepare() {
37 epatch "${FILESDIR}"/${PN}-1.0.27-build.patch
38
39 sed -i \
40 -e "/^LIB/s:lib/:$(get_libdir)/:" \
41 -e "$(use java || echo '/^JSRC/s:=.*:=:')" \
42 Makefile
43 sed -i \
44 -e '/^CC/s:=.*:+= $(CFLAGS) $(CPPFLAGS) $(LDFLAGS):' \
45 vncstorepw/Makefile
46
47 cp "${FILESDIR}"/Makefile.libvncauth vnc_unixsrc/libvncauth/Makefile
48 cd "${S}"/vnc_unixsrc/vncviewer
49 sed -n '/^SRCS/,/^$/p' Imakefile > Makefile.in
50 cp "${FILESDIR}"/Makefile.vncviewer Makefile
51 }
52
53 src_compile() {
54 tc-export AR CC CXX RANLIB
55 emake all || die
56 }
57
58 src_install() {
59 emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install || \
60 die "make install failed"
61 dodoc README
62 }

  ViewVC Help
Powered by ViewVC 1.1.20