diff options
Diffstat (limited to 'x11-misc/x11vnc/x11vnc-0.8.ebuild')
-rw-r--r-- | x11-misc/x11vnc/x11vnc-0.8.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/x11-misc/x11vnc/x11vnc-0.8.ebuild b/x11-misc/x11vnc/x11vnc-0.8.ebuild new file mode 100644 index 000000000000..7dee07cf49a1 --- /dev/null +++ b/x11-misc/x11vnc/x11vnc-0.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/x11vnc/x11vnc-0.8.ebuild,v 1.1 2006/02/17 22:10:05 swegener Exp $ + +DESCRIPTION="A VNC server for real X displays" +HOMEPAGE="http://www.karlrunge.com/x11vnc/" +SRC_URI="http://www.karlrunge.com/x11vnc/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sh ~sparc ~x86" +IUSE="jpeg zlib threads" + +RDEPEND="zlib? ( sys-libs/zlib ) + jpeg? ( + media-libs/jpeg + sys-libs/zlib + ) + || ( ( + x11-libs/libXinerama + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libX11 + x11-libs/libXtst + x11-libs/libXdamage + x11-libs/libXext + ) virtual/x11 )" + +DEPEND="${RDEPEND} + || ( ( + x11-libs/libXt + x11-proto/xineramaproto + x11-proto/trapproto + x11-proto/recordproto + x11-proto/xproto + x11-proto/xextproto + ) virtual/x11 )" + +src_compile() { + local myconf="" + use jpeg && myconf="${myconf} --with-zlib" + + econf \ + $(use_with jpeg) \ + $(use_with zlib) \ + $(use_with threads pthread) \ + ${myconf} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc x11vnc/{ChangeLog,README} +} |