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

Contents of /media-sound/audio-entropyd/audio-entropyd-2.0.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jul 16 12:05:24 2012 UTC (2 years, 3 months ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old

(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)

1 # Copyright 1999-2012 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-2.0.1-r1.ebuild,v 1.5 2012/05/13 10:45:27 swift Exp $
4
5 inherit eutils 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
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc ~sparc x86"
14 IUSE="selinux"
15
16 RDEPEND="selinux? ( sec-policy/selinux-entropyd )
17 media-sound/alsa-utils"
18
19 src_unpack() {
20 unpack ${A}
21 cd "${S}"
22
23 epatch "${FILESDIR}/${P}-uclibc.patch" \
24 "${FILESDIR}/${P}-ldflags.patch"
25 sed -i -e "s:^OPT_FLAGS=.*:OPT_FLAGS=${CFLAGS}:" Makefile
26 }
27
28 src_compile() {
29 emake CC="$(tc-getCC)" || die "emake failed"
30 }
31
32 src_install() {
33 dosbin audio-entropyd || die "dosbin failed"
34 dodoc README TODO
35 newinitd "${FILESDIR}/${PN}.init-2" ${PN}
36 newconfd "${FILESDIR}/${PN}.conf-2" ${PN}
37 }

  ViewVC Help
Powered by ViewVC 1.1.20