diff options
author | Sven Wegener <swegener@gentoo.org> | 2004-11-22 00:57:41 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2004-11-22 00:57:41 +0000 |
commit | c54563192884db7b786da6c3265dd8a99b6cae19 (patch) | |
tree | 31ac42832ca38641e4c0d1c2c9c99ddd6e5574d3 /x11-misc/x11vnc | |
parent | Fixed broken Manifest. (Manifest recommit) (diff) | |
download | gentoo-2-c54563192884db7b786da6c3265dd8a99b6cae19.tar.gz gentoo-2-c54563192884db7b786da6c3265dd8a99b6cae19.tar.bz2 gentoo-2-c54563192884db7b786da6c3265dd8a99b6cae19.zip |
Initial import, ebuild written by me.
Diffstat (limited to 'x11-misc/x11vnc')
-rw-r--r-- | x11-misc/x11vnc/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/x11vnc/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/x11vnc/files/0.6.2-configure.ac.patch | 22 | ||||
-rw-r--r-- | x11-misc/x11vnc/files/digest-x11vnc-0.6.2 | 1 | ||||
-rw-r--r-- | x11-misc/x11vnc/metadata.xml | 13 | ||||
-rw-r--r-- | x11-misc/x11vnc/x11vnc-0.6.2.ebuild | 51 |
6 files changed, 99 insertions, 0 deletions
diff --git a/x11-misc/x11vnc/ChangeLog b/x11-misc/x11vnc/ChangeLog new file mode 100644 index 000000000000..32a889d9bbfd --- /dev/null +++ b/x11-misc/x11vnc/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-misc/x11vnc +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/x11vnc/ChangeLog,v 1.1 2004/11/22 00:57:41 swegener Exp $ + +*x11vnc-0.6.2 (22 Nov 2004) + + 22 Nov 2004; Sven Wegener <swegener@gentoo.org> +metadata.xml, + +files/0.6.2-configure.ac.patch, +x11vnc-0.6.2.ebuild: + Initial import, ebuild written by me. + diff --git a/x11-misc/x11vnc/Manifest b/x11-misc/x11vnc/Manifest new file mode 100644 index 000000000000..029394b853e2 --- /dev/null +++ b/x11-misc/x11vnc/Manifest @@ -0,0 +1,2 @@ +MD5 e19b52e4252037faa553cb4f22c9cbe3 x11vnc-0.6.2.ebuild 323 +MD5 2933f74d7e72b3c58eba75f7448c1564 files/digest-x11vnc-0.6.2 64 diff --git a/x11-misc/x11vnc/files/0.6.2-configure.ac.patch b/x11-misc/x11vnc/files/0.6.2-configure.ac.patch new file mode 100644 index 000000000000..21665d069262 --- /dev/null +++ b/x11-misc/x11vnc/files/0.6.2-configure.ac.patch @@ -0,0 +1,22 @@ +diff -Nur x11vnc-0.6.2.orig/configure.ac x11vnc-0.6.2/configure.ac +--- x11vnc-0.6.2.orig/configure.ac 2004-11-16 17:39:24.860061978 +0100 ++++ x11vnc-0.6.2/configure.ac 2004-11-16 17:39:39.745018698 +0100 +@@ -14,6 +14,10 @@ + AC_PROG_MAKE_SET + AC_PROG_RANLIB + ++# Checks for header files. ++AC_HEADER_STDC ++AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h]) ++ + # Options + AH_TEMPLATE(BACKCHANNEL, [Enable BackChannel communication]) + AC_ARG_WITH(backchannel, +@@ -108,7 +112,3 @@ + AC_SUBST(SDL_LIBS) +- +-# Checks for header files. +-AC_HEADER_STDC +-AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h]) + + # Checks for typedefs, structures, and compiler characteristics. diff --git a/x11-misc/x11vnc/files/digest-x11vnc-0.6.2 b/x11-misc/x11vnc/files/digest-x11vnc-0.6.2 new file mode 100644 index 000000000000..e917d75583e8 --- /dev/null +++ b/x11-misc/x11vnc/files/digest-x11vnc-0.6.2 @@ -0,0 +1 @@ +MD5 e8d2e11332624dcf3eea992248dd8f68 x11vnc-0.6.2.tar.gz 350243 diff --git a/x11-misc/x11vnc/metadata.xml b/x11-misc/x11vnc/metadata.xml new file mode 100644 index 000000000000..17b040b19be9 --- /dev/null +++ b/x11-misc/x11vnc/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>swegener@gentoo.org</email> + <description>Primary Maintainer</description> + </maintainer> + <longdescription> +The primary goal of this program is to create a portable and simple command-line +server utility that allows a VNC viewer to connect to an actual X display. + </longdescription> +</pkgmetadata> diff --git a/x11-misc/x11vnc/x11vnc-0.6.2.ebuild b/x11-misc/x11vnc/x11vnc-0.6.2.ebuild new file mode 100644 index 000000000000..ad444a894bb2 --- /dev/null +++ b/x11-misc/x11vnc/x11vnc-0.6.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/x11vnc/x11vnc-0.6.2.ebuild,v 1.1 2004/11/22 00:57:41 swegener Exp $ + +inherit eutils + +DESCRIPTION="A VNC server for real X displays" +HOMEPAGE="http://www.karlrunge.com/x11vnc/" +SRC_URI="mirror://sourceforge/libvncserver/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="jpeg zlib" + +RDEPEND="virtual/x11 + zlib? ( sys-libs/zlib ) + jpeg? ( + media-libs/jpeg + sys-libs/zlib + )" +DEPEND="${RDEPEND} + sys-devel/autoconf" + +src_unpack() { + unpack ${A} + cd ${S} + + # Hack to avoid running all autotools + touch -r configure configure.timestamp + touch -r configure.ac configure.ac.timestamp + + epatch ${FILESDIR}/${PV}-configure.ac.patch + WANT_AUTOCONF="2.5" autoconf || die "autoconf failed" + + touch -r configure.timestamp configure + touch -r configure.ac.timestamp configure.ac +} + +src_compile() { + econf \ + $(use_with jpeg) \ + $(use_with jpeg zlib) \ + $(use_with zlib) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed" +} |