|
Lines 2-8
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/haveged/haveged-1.1.ebuild,v 1.1 2011/04/11 00:15:58 robbat2 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/haveged/haveged-1.1.ebuild,v 1.1 2011/04/11 00:15:58 robbat2 Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI=3 |
5 |
EAPI=4 |
| 6 |
DESCRIPTION="A simple entropy daemon using the HAVEGE algorithm" |
6 |
DESCRIPTION="A simple entropy daemon using the HAVEGE algorithm" |
| 7 |
HOMEPAGE="http://www.issihosts.com/haveged/" |
7 |
HOMEPAGE="http://www.issihosts.com/haveged/" |
| 8 |
SRC_URI="http://www.issihosts.com/haveged/${P}.tar.gz" |
8 |
SRC_URI="http://www.issihosts.com/haveged/${P}.tar.gz" |
|
Lines 16-31
Link Here
|
| 16 |
RDEPEND="" |
16 |
RDEPEND="" |
| 17 |
|
17 |
|
| 18 |
src_configure() { |
18 |
src_configure() { |
| 19 |
econf --bindir=/usr/sbin || die |
19 |
econf --bindir=/usr/sbin -enable-nistest |
| 20 |
} |
|
|
| 21 |
|
| 22 |
src_compile() { |
| 23 |
emake || die |
| 24 |
} |
20 |
} |
| 25 |
|
21 |
|
| 26 |
src_install() { |
22 |
src_install() { |
| 27 |
emake DESTDIR="${D}" install || die "make install failed" |
23 |
default |
| 28 |
dodoc AUTHORS ChangeLog NEWS README |
|
|
| 29 |
# This is a RedHat init script |
24 |
# This is a RedHat init script |
| 30 |
rm -rf "${D}"/etc/init.d/haveged |
25 |
rm -rf "${D}"/etc/init.d/haveged |
| 31 |
# Install gentoo ones instead |
26 |
# Install gentoo ones instead |