/[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.3 - (hide annotations) (download)
Thu Nov 12 09:54:20 2009 UTC (5 years, 1 month ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Fix init script for 2.0.1 (bug 271882), thanks to Tim O'Kelly
(Portage version: 2.1.7.4/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.3 # $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-2.0.1.ebuild,v 1.2 2009/11/04 21:02:04 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