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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Mon Jul 16 12:05:24 2012 UTC (2 years, 11 months ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old

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

1 swift 1.5 # Copyright 1999-2012 Gentoo Foundation
2 angelos 1.1 # Distributed under the terms of the GNU General Public License v2
3 angelos 1.6 # $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-2.0.1-r1.ebuild,v 1.5 2012/05/13 10:45:27 swift 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 nixnut 1.4 KEYWORDS="amd64 ppc ~sparc x86"
14 angelos 1.1 IUSE="selinux"
15    
16 swift 1.5 RDEPEND="selinux? ( sec-policy/selinux-entropyd )
17 angelos 1.1 media-sound/alsa-utils"
18    
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-2" ${PN}
36     newconfd "${FILESDIR}/${PN}.conf-2" ${PN}
37     }

  ViewVC Help
Powered by ViewVC 1.1.20