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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Wed Mar 18 18:04:24 2009 UTC (9 years, 3 months ago) by ranger
Branch: MAIN
Changes since 1.2: +2 -2 lines
stable ppc, bug 259792
(Portage version: 2.1.6.7/cvs/Linux ppc64)

1 angelos 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ranger 1.3 # $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-1.0.5.ebuild,v 1.2 2009/02/09 17:03:42 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 ranger 1.3 KEYWORDS="~amd64 ppc ~sparc ~x86"
14 angelos 1.1 IUSE="selinux"
15    
16     RDEPEND="selinux? ( sec-policy/selinux-audio-entropyd )"
17    
18     src_unpack() {
19     unpack ${A}
20     cd "${S}"
21    
22 angelos 1.2 epatch "${FILESDIR}/${P}-uclibc.patch" \
23     "${FILESDIR}/${P}-ldflags.patch"
24 angelos 1.1 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 README.2 TODO
34     newinitd "${FILESDIR}/${PN}.init" ${PN}
35     newconfd "${FILESDIR}/${PN}.conf" ${PN}
36     }

  ViewVC Help
Powered by ViewVC 1.1.20