mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/ssvnc: Remove old
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
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 )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.0.29-build.patch
|
||||
|
||||
sed -i \
|
||||
-e "/^LIB/s:lib/:$(get_libdir)/:" \
|
||||
-e "$(use java || echo '/^JSRC/s:=.*:=:')" \
|
||||
Makefile
|
||||
sed -i \
|
||||
-e '/^CC/s:=.*:+= $(CFLAGS) $(CPPFLAGS) $(LDFLAGS):' \
|
||||
vncstorepw/Makefile
|
||||
|
||||
cp "${FILESDIR}"/Makefile.libvncauth vnc_unixsrc/libvncauth/Makefile
|
||||
cd "${S}"/vnc_unixsrc/vncviewer
|
||||
sed -n '/^SRCS/,/^$/p' Imakefile > Makefile.in
|
||||
cp "${FILESDIR}"/Makefile.vncviewer Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
emake all || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install || die
|
||||
dodoc README
|
||||
}
|
||||
Reference in New Issue
Block a user