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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Aug 1 21:58:48 2007 UTC (7 years, 1 month ago) by angelos
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable on amd64
(Portage version: 2.1.3_rc9)

1 angelos 1.1 # Copyright 1999-2007 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-1.0.0.ebuild,v 1.1 2007/06/24 20:57:50 angelos Exp $
4 angelos 1.1
5     inherit 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     LICENSE="GPL-2"
11     SLOT="0"
12 angelos 1.2 KEYWORDS="amd64 ~ppc ~sparc ~x86"
13 angelos 1.1 IUSE="selinux"
14     DEPEND="virtual/libc"
15     RDEPEND="${DEPEND}
16     >=sys-apps/sed-4
17     !amd64? ( selinux? ( sec-policy/selinux-audio-entropyd ) )"
18    
19     src_unpack() {
20     unpack ${A}
21    
22     cd ${S}
23     sed -i.orig \
24     -e "s:^OPT_FLAGS=.*:OPT_FLAGS=$CFLAGS:" \
25     Makefile
26     }
27    
28     src_compile() {
29     emake CC=$(tc-getCC) || die "emake failed"
30     }
31    
32     src_install() {
33     dosbin audio-entropyd
34    
35     newinitd ${FILESDIR}/${PN}.init ${PN}
36     newconfd ${FILESDIR}/${PN}.conf ${PN}
37     }

  ViewVC Help
Powered by ViewVC 1.1.20