summaryrefslogtreecommitdiff
blob: 8adbda37ad3c8a55755cb377666fbcd49f6bf8c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/egads/egads-0.9.5.ebuild,v 1.6 2005/07/21 17:17:26 dholm Exp $

DESCRIPTION="Entropy Gathering And Distribution System"
HOMEPAGE="http://www.securesoftware.com/download_${PN}.htm"
SRC_URI="http://www.securesoftware.com/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~ppc x86"
IUSE=""

DEPEND="virtual/libc"

egadsdatadir=/var/run/egads

src_compile() {
	econf --with-egads-datadir="${egadsdatadir}" --with-bindir=/usr/sbin || die
	emake || die
}

src_install() {
	keepdir ${egadsdatadir}
	fperm +t ${egadsdatadir}
	einstall BINDIR=${D}/usr/sbin || die
	dodoc README* doc/*.txt
	dohtml doc/*.html
}