/[gentoo-x86]/media-sound/audio-entropyd/audio-entropyd-1.0.0.ebuild
Gentoo

Contents of /media-sound/audio-entropyd/audio-entropyd-1.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Aug 18 03:19:49 2007 UTC (6 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.3: +3 -1 lines
Added dodoc
(Portage version: 2.1.3.6)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-1.0.0.ebuild,v 1.3 2007/08/13 21:14:47 dertobi123 Exp $
4
5 inherit toolchain-funcs
6
7 DESCRIPTION="Audio-entropyd generates entropy-data for the /dev/random device."
8 HOMEPAGE="http://www.vanheusden.com/aed/"
9 SRC_URI="http://www.vanheusden.com/aed/${P}.tgz"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="amd64 ppc ~sparc ~x86"
13 IUSE="selinux"
14 DEPEND="virtual/libc"
15 RDEPEND="${DEPEND}
16 >=sys-apps/sed-4
17 !amd64? ( selinux? ( sec-policy/selinux-audio-entropyd ) )"
18
19 src_unpack() {
20 unpack ${A}
21
22 cd ${S}
23 sed -i.orig \
24 -e "s:^OPT_FLAGS=.*:OPT_FLAGS=$CFLAGS:" \
25 Makefile
26 }
27
28 src_compile() {
29 emake CC=$(tc-getCC) || die "emake failed"
30 }
31
32 src_install() {
33 dosbin audio-entropyd
34
35 dodoc README README.2 TODO
36
37 newinitd ${FILESDIR}/${PN}.init ${PN}
38 newconfd ${FILESDIR}/${PN}.conf ${PN}
39 }

  ViewVC Help
Powered by ViewVC 1.1.20