/[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.2 - (hide annotations) (download)
Wed Nov 4 21:02:04 2009 UTC (4 years, 9 months ago) by angelos
Branch: MAIN
Changes since 1.1: +3 -2 lines
Added missing alsa-utils dep (bug #287402)
(Portage version: 2.1.7.3/cvs/Linux x86_64)

1 angelos 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 angelos 1.2 # $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-2.0.1.ebuild,v 1.1 2009/05/25 20:29:43 angelos Exp $
4 angelos 1.1
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 angelos 1.2 RDEPEND="selinux? ( sec-policy/selinux-audio-entropyd )
17     media-sound/alsa-utils"
18 angelos 1.1
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" ${PN}
36     newconfd "${FILESDIR}/${PN}.conf" ${PN}
37     }

  ViewVC Help
Powered by ViewVC 1.1.20