summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-02 16:27:55 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-02 17:14:57 +0100
commit923c2c30d714f38ab7b8b59e88356a86a5c3bf47 (patch)
tree13afd7b3a39f0e1aafb92aea1fb364621ed9f736 /sys-apps/audio-entropyd
parentsys-apps/arrayprobe: Port to EAPI 6 (diff)
downloadgentoo-923c2c30d714f38ab7b8b59e88356a86a5c3bf47.tar.gz
gentoo-923c2c30d714f38ab7b8b59e88356a86a5c3bf47.tar.bz2
gentoo-923c2c30d714f38ab7b8b59e88356a86a5c3bf47.zip
sys-apps/audio-entropyd: Port to EAPI 6
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'sys-apps/audio-entropyd')
-rw-r--r--sys-apps/audio-entropyd/Manifest2
-rw-r--r--sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild34
2 files changed, 22 insertions, 14 deletions
diff --git a/sys-apps/audio-entropyd/Manifest b/sys-apps/audio-entropyd/Manifest
index f70abfd24266..6841c1811108 100644
--- a/sys-apps/audio-entropyd/Manifest
+++ b/sys-apps/audio-entropyd/Manifest
@@ -1 +1 @@
-DIST audio-entropyd-2.0.3.tgz 16681 SHA256 6fbaf1c4f77e988f4656cd079309d5eb6bd36cbae89c2ee01324c5690adaf3ff SHA512 d21c2d547235accdd460bcaf1ff5f5696db2988d385c3c52aad0d651865386409682f8747d1823765f0c0925bf28f38abdfc0b114d239f494c7eb699c5ed3ebf WHIRLPOOL e653b7cccda00323b5f17a675d72cef1a9adf9915dcd27041e63993073a378d92ab5779d25434ecd48ecbb74b45abc4217e4b629c98ba3885589727ef90edf6d
+DIST audio-entropyd-2.0.3.tgz 16681 BLAKE2B 36f9d7942f718af8e828ce6598ab8ea35945de1c60959e7bc2314b2440037f8bb661085a4cad12e62627d935797842616e486180945ff283937b499de163f068 SHA512 d21c2d547235accdd460bcaf1ff5f5696db2988d385c3c52aad0d651865386409682f8747d1823765f0c0925bf28f38abdfc0b114d239f494c7eb699c5ed3ebf
diff --git a/sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild b/sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild
index 5e5a60fb72c6..cab08ef38cf8 100644
--- a/sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild
+++ b/sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
-inherit eutils systemd toolchain-funcs
+EAPI=6
+
+inherit systemd toolchain-funcs
DESCRIPTION="Audio-entropyd generates entropy-data for the /dev/random device"
HOMEPAGE="http://www.vanheusden.com/aed/"
@@ -13,25 +14,32 @@ SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"
IUSE="selinux"
-RDEPEND="selinux? ( sec-policy/selinux-entropyd )
+DEPEND="media-libs/alsa-lib:="
+RDEPEND="${DEPEND}
media-sound/alsa-utils
- media-libs/alsa-lib"
+ selinux? ( sec-policy/selinux-entropyd )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.0.1-uclibc.patch
+ "${FILESDIR}"/${PN}-2.0.1-ldflags.patch
+)
src_prepare() {
- epatch "${FILESDIR}/${PN}-2.0.1-uclibc.patch" \
- "${FILESDIR}/${PN}-2.0.1-ldflags.patch"
+ default
+
sed -i -e "s:^OPT_FLAGS=.*:OPT_FLAGS=${CFLAGS}:" \
-e "/^WARNFLAGS/s: -g::" Makefile || die
}
-src_compile() {
- emake CC="$(tc-getCC)"
+src_configure() {
+ tc-export CC
}
src_install() {
dosbin audio-entropyd
- dodoc README TODO
- systemd_dounit "${FILESDIR}/${PN}.service"
- newinitd "${FILESDIR}/${PN}.init-2" ${PN}
- newconfd "${FILESDIR}/${PN}.conf-2" ${PN}
+ einstalldocs
+
+ systemd_dounit "${FILESDIR}"/${PN}.service
+ newinitd "${FILESDIR}"/${PN}.init-2 ${PN}
+ newconfd "${FILESDIR}"/${PN}.conf-2 ${PN}
}