summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-10-22 09:33:49 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-10-22 10:21:17 +0200
commitfce8ec4287ef1f122b01c52f48e80a3a150b0588 (patch)
tree060a8f184cf33eb2992090508950c40ada7a7484 /media-sound/cd-discid
parentmedia-tv/shoutcast2vdr: Port to EAPI 8 (diff)
downloadgentoo-fce8ec4287ef1f122b01c52f48e80a3a150b0588.tar.gz
gentoo-fce8ec4287ef1f122b01c52f48e80a3a150b0588.tar.bz2
gentoo-fce8ec4287ef1f122b01c52f48e80a3a150b0588.zip
media-sound/cd-discid: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'media-sound/cd-discid')
-rw-r--r--media-sound/cd-discid/cd-discid-1.4-r1.ebuild (renamed from media-sound/cd-discid/cd-discid-1.4.ebuild)7
1 files changed, 3 insertions, 4 deletions
diff --git a/media-sound/cd-discid/cd-discid-1.4.ebuild b/media-sound/cd-discid/cd-discid-1.4-r1.ebuild
index 4b4a01881fba..be503d716c86 100644
--- a/media-sound/cd-discid/cd-discid-1.4.ebuild
+++ b/media-sound/cd-discid/cd-discid-1.4-r1.ebuild
@@ -1,25 +1,24 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
inherit toolchain-funcs
DESCRIPTION="returns the disc id for the cd in the cd-rom drive"
HOMEPAGE="https://github.com/taem/cd-discid"
SRC_URI="https://github.com/taem/${PN}/archive/upstream/1.4.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-upstream-${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc ppc64 ~riscv x86"
-S=${WORKDIR}/${PN}-upstream-${PV}
-
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
- emake DESTDIR="${D}" PREFIX=/usr STRIP=/bin/true install
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr STRIP="${EPREFIX}"/bin/true install
dodoc changelog README
}