blob: 022f4200b99e985ff1b130eb42fca5c24c5bef8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/video-entropyd/video-entropyd-0.7.ebuild,v 1.2 2005/07/28 11:26:34 dholm Exp $
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="~ppc ~x86"
IUSE=""
DEPEND="virtual/libc"
S="${WORKDIR}/${MY_P}"
src_compile() {
emake CFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
newsbin video_entropyd video-entropyd
}
pkg_postinst() {
einfo "As video-entropyd does not provide a daemon mode, you"
einfo "should configure a cron job to regularly run:"
einfo "/usr/sbin/video-entropyd VIDEODEVICE"
}
|