summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-19 22:23:23 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-19 22:23:23 +0000
commitbd28903e07b81ee56de1a94d5ad0702869db9f13 (patch)
treeb3f8286631f91684a477e1732cf108e6a76e368b /sys-apps
parentAdd DEPEND on app-arch/unzip (diff)
downloadgentoo-2-bd28903e07b81ee56de1a94d5ad0702869db9f13.tar.gz
gentoo-2-bd28903e07b81ee56de1a94d5ad0702869db9f13.tar.bz2
gentoo-2-bd28903e07b81ee56de1a94d5ad0702869db9f13.zip
cleanup ebuild
(Portage version: 2.1_pre6-r3)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/rng-tools/rng-tools-1.1.ebuild25
1 files changed, 10 insertions, 15 deletions
diff --git a/sys-apps/rng-tools/rng-tools-1.1.ebuild b/sys-apps/rng-tools/rng-tools-1.1.ebuild
index 36657b0f7650..eb43b189adb2 100644
--- a/sys-apps/rng-tools/rng-tools-1.1.ebuild
+++ b/sys-apps/rng-tools/rng-tools-1.1.ebuild
@@ -1,33 +1,28 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/rng-tools-1.1.ebuild,v 1.9 2006/02/08 23:16:37 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/rng-tools-1.1.ebuild,v 1.10 2006/03/19 22:23:23 vapier Exp $
-DESCRIPTION="Daemon to use hardware random number generators."
+DESCRIPTION="Daemon to use hardware random number generators"
HOMEPAGE="http://gkernel.sourceforge.net/"
SRC_URI="mirror://sourceforge/gkernel/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha ~amd64 ia64 ppc x86"
IUSE=""
-DEPEND="virtual/libc"
+
+DEPEND=""
src_unpack() {
unpack ${A}
# we want this extra tool
- cd ${S}
- echo 'bin_PROGRAMS = randstat' >contrib/Makefile.am
- aclocal
- automake
-}
-
-src_compile() {
- econf || die
- emake || die
+ cd "${S}"
+ echo 'bin_PROGRAMS = randstat' > contrib/Makefile.am
+ aclocal && automake || die
}
src_install() {
- einstall || die
+ make install DESTDIR="${D}" || die
dodoc AUTHORS ChangeLog
- exeinto /etc/init.d
- doexe ${FILESDIR}/rngd
+ doinitd "${FILESDIR}"/rngd
}