/[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.8 - (hide annotations) (download)
Sat Mar 22 15:05:09 2014 UTC (9 months ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Move media-sound/audio-entropyd to sys-apps (bug #495000)

1 swift 1.2 # Copyright 1999-2012 Gentoo Foundation
2 angelos 1.1 # Distributed under the terms of the GNU General Public License v2
3 angelos 1.8 # $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-2.0.3.ebuild,v 1.7 2012/07/08 11:06:00 angelos Exp $
4 angelos 1.1
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 ranger 1.6 KEYWORDS="amd64 ppc ~sparc x86"
15 angelos 1.1 IUSE="selinux"
16    
17 swift 1.2 RDEPEND="selinux? ( sec-policy/selinux-entropyd )
18 angelos 1.5 media-sound/alsa-utils
19     media-libs/alsa-lib"
20 angelos 1.1
21     src_prepare() {
22     epatch "${FILESDIR}/${PN}-2.0.1-uclibc.patch" \
23     "${FILESDIR}/${PN}-2.0.1-ldflags.patch"
24 angelos 1.5 sed -i -e "s:^OPT_FLAGS=.*:OPT_FLAGS=${CFLAGS}:" \
25 angelos 1.7 -e "/^WARNFLAGS/s: -g::" Makefile || die
26 angelos 1.1 }
27    
28     src_compile() {
29     emake CC="$(tc-getCC)"
30     }
31    
32     src_install() {
33     dosbin audio-entropyd
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