summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-11-27 11:56:14 +0100
committerDavid Seifert <soap@gentoo.org>2017-11-27 12:20:47 +0100
commitbdd4eb31f1ac158b29386ae3f9f69fa97a92a081 (patch)
tree681c6797a7752110e783d4ef4fdef4afb90887b1
parentsys-apps/lssbus: Port to EAPI 6 (diff)
downloadgentoo-bdd4eb31f1ac158b29386ae3f9f69fa97a92a081.tar.gz
gentoo-bdd4eb31f1ac158b29386ae3f9f69fa97a92a081.tar.bz2
gentoo-bdd4eb31f1ac158b29386ae3f9f69fa97a92a081.zip
sys-apps/clrngd: Port to EAPI 6
Package-Manager: Portage-2.3.16, Repoman-2.3.6
-rw-r--r--sys-apps/clrngd/Manifest2
-rw-r--r--sys-apps/clrngd/clrngd-1.0.3.ebuild21
2 files changed, 10 insertions, 13 deletions
diff --git a/sys-apps/clrngd/Manifest b/sys-apps/clrngd/Manifest
index 41066c36395..8ce9a0eef64 100644
--- a/sys-apps/clrngd/Manifest
+++ b/sys-apps/clrngd/Manifest
@@ -1 +1 @@
-DIST clrngd-1.0.3.tar.gz 97283 SHA256 9432765248548e2054389994ba44c87348a3a027f881ebeef2d2d2f73808388a SHA512 d752ddb2c8d902d3b8d24e02467eed8488f1349e08229dd396b2aca8e326db4bda9ed68def586d9c429b7a7b2fb1f1fbeae9eb354910e0ba4b29100b1bb512ac WHIRLPOOL 95d50813347d32f4cc044165b7092845e8f5e0999fdd5a619d0a3e858301b28bbb1f87ea663c88aa89abd038258a446a0e9d85fc1d66decdbb87076b23501ff7
+DIST clrngd-1.0.3.tar.gz 97283 BLAKE2B cafbe30d533cb5103bf64fb4991f1547ded634b3b1ea0702e6a6afb6df90b2ea443e927566bfecaf79bccdab70d15e49e1b8252d2f502ed4f1ebbcc5728aa5b3 SHA512 d752ddb2c8d902d3b8d24e02467eed8488f1349e08229dd396b2aca8e326db4bda9ed68def586d9c429b7a7b2fb1f1fbeae9eb354910e0ba4b29100b1bb512ac
diff --git a/sys-apps/clrngd/clrngd-1.0.3.ebuild b/sys-apps/clrngd/clrngd-1.0.3.ebuild
index eac515a1ff3..6cc2a27825b 100644
--- a/sys-apps/clrngd/clrngd-1.0.3.ebuild
+++ b/sys-apps/clrngd/clrngd-1.0.3.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+EAPI=6
+
DESCRIPTION="Clock randomness gathering daemon"
HOMEPAGE="http://echelon.pl/pubs/"
SRC_URI="http://echelon.pl/pubs/${P}.tar.gz"
@@ -8,19 +10,14 @@ SRC_URI="http://echelon.pl/pubs/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="sys-devel/gcc"
-RDEPEND=""
-src_compile() {
- econf --bindir=/usr/sbin || die
- emake || die
+src_configure() {
+ econf --bindir="${EPREFIX}"/usr/sbin
}
src_install() {
- make DESTDIR=${D} install || die "make install failed"
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
- newinitd ${FILESDIR}/clrngd-init.d clrngd
- newconfd ${FILESDIR}/clrngd-conf.d clrngd
+ default
+
+ newinitd "${FILESDIR}"/${PN}-init.d ${PN}
+ newconfd "${FILESDIR}"/${PN}-conf.d ${PN}
}