/[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.1 - (hide annotations) (download)
Sun Jun 24 20:57:50 2007 UTC (7 years, 3 months ago) by angelos
Branch: MAIN
Taking over maintainership
(Portage version: 2.1.3_rc5)

1 angelos 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
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     KEYWORDS="~amd64 ~ppc ~sparc ~x86"
13     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