diff options
Diffstat (limited to 'media-video/video-entropyd/video-entropyd-1.0.ebuild')
-rw-r--r-- | media-video/video-entropyd/video-entropyd-1.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
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" +} |