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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Apr 18 15:08:28 2011 UTC (3 years, 7 months ago) by angelos
Branch: MAIN
Version bump

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

1 # Copyright 1999-2011 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.4 2010/07/18 12:46:19 nixnut Exp $
4
5 EAPI=4
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="Audio-entropyd generates entropy-data for the /dev/random device."
9 HOMEPAGE="http://www.vanheusden.com/aed/"
10 SRC_URI="http://www.vanheusden.com/aed/${P}.tgz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
15 IUSE="selinux"
16
17 RDEPEND="selinux? ( sec-policy/selinux-audio-entropyd )
18 media-sound/alsa-utils"
19
20 src_prepare() {
21 epatch "${FILESDIR}/${PN}-2.0.1-uclibc.patch" \
22 "${FILESDIR}/${PN}-2.0.1-ldflags.patch"
23 sed -i -e "s:^OPT_FLAGS=.*:OPT_FLAGS=${CFLAGS}:" Makefile
24 }
25
26 src_compile() {
27 emake CC="$(tc-getCC)"
28 }
29
30 src_install() {
31 dosbin audio-entropyd
32 dodoc README TODO
33 newinitd "${FILESDIR}/${PN}.init-2" ${PN}
34 newconfd "${FILESDIR}/${PN}.conf-2" ${PN}
35 }

  ViewVC Help
Powered by ViewVC 1.1.20