summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-07-09 14:14:17 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-07-09 14:14:17 +0000
commite50a62ae6d1d2bb074dc01f5358bf6be1fcb0e74 (patch)
tree99e14f9e8ef9d29bdf3b43ba33bbceccd8d6cef5 /media-video/video-entropyd
parentstable x86, bug 277184 (diff)
downloadgentoo-2-e50a62ae6d1d2bb074dc01f5358bf6be1fcb0e74.tar.gz
gentoo-2-e50a62ae6d1d2bb074dc01f5358bf6be1fcb0e74.tar.bz2
gentoo-2-e50a62ae6d1d2bb074dc01f5358bf6be1fcb0e74.zip
version bump to fix building with media-libs/netpbm, see bug 247915, thanks to basic <basic AT mozdev DOT org> for the fixes
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'media-video/video-entropyd')
-rw-r--r--media-video/video-entropyd/ChangeLog11
-rw-r--r--media-video/video-entropyd/video-entropyd-1.0.ebuild32
2 files changed, 41 insertions, 2 deletions
diff --git a/media-video/video-entropyd/ChangeLog b/media-video/video-entropyd/ChangeLog
index edae962aa726..6f69c4343b67 100644
--- a/media-video/video-entropyd/ChangeLog
+++ b/media-video/video-entropyd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/video-entropyd
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/video-entropyd/ChangeLog,v 1.10 2008/03/04 10:37:23 armin76 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/video-entropyd/ChangeLog,v 1.11 2009/07/09 14:14:17 fauli Exp $
+
+*video-entropyd-1.0 (09 Jul 2009)
+
+ 09 Jul 2009; Christian Faulhammer <fauli@gentoo.org>
+ +video-entropyd-1.0.ebuild:
+ version bump to fix building with media-libs/netpbm, see bug 247915,
+ thanks to basic <basic AT mozdev DOT org> for the fixes
*video-entropyd-0.8 (04 Mar 2008)
diff --git a/media-video/video-entropyd/video-entropyd-1.0.ebuild b/media-video/video-entropyd/video-entropyd-1.0.ebuild
new file mode 100644
index 000000000000..f88c0feade05
--- /dev/null
+++ b/media-video/video-entropyd/video-entropyd-1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/video-entropyd/video-entropyd-1.0.ebuild,v 1.1 2009/07/09 14:14:17 fauli Exp $
+inherit toolchain-funcs
+
+MY_PN="${PN/-/_}"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Video-entropyd generates entropy-data for the /dev/random device."
+HOMEPAGE="http://www.vanheusden.com/ved/"
+SRC_URI="http://www.vanheusden.com/ved/${MY_P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+RDEPEND="media-libs/netpbm"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers" # v4l headers from kernel
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ emake CC=$(tc-getCC) CFLAGS="${CFLAGS} -I/usr/include/netpbm -DVERSION=\\\"${PV}\\\"" || die "emake failed"
+}
+
+src_install() {
+ newsbin video_entropyd video-entropyd
+}
+
+pkg_postinst() {
+ elog "As video-entropyd does not provide a daemon mode, you"
+ elog "should configure a cron job to regularly run:"
+ elog "/usr/sbin/video-entropyd VIDEODEVICE"
+}