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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon May 25 20:29:43 2009 UTC (5 years, 3 months ago) by angelos
Branch: MAIN
Version bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.5.ebuild,v 1.5 2009/04/22 19:47:53 maekke 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-audio-entropyd )"
17
18 src_unpack() {
19 unpack ${A}
20 cd "${S}"
21
22 epatch "${FILESDIR}/${P}-uclibc.patch" \
23 "${FILESDIR}/${P}-ldflags.patch"
24 sed -i -e "s:^OPT_FLAGS=.*:OPT_FLAGS=${CFLAGS}:" Makefile
25 }
26
27 src_compile() {
28 emake CC="$(tc-getCC)" || die "emake failed"
29 }
30
31 src_install() {
32 dosbin audio-entropyd || die "dosbin failed"
33 dodoc README TODO
34 newinitd "${FILESDIR}/${PN}.init" ${PN}
35 newconfd "${FILESDIR}/${PN}.conf" ${PN}
36 }

  ViewVC Help
Powered by ViewVC 1.1.20