summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-10-17 11:00:00 +0200
committerDavid Seifert <soap@gentoo.org>2019-10-17 11:00:00 +0200
commitb92ee6e4792da89160239483b7b92eb647407e88 (patch)
tree98b9c4790351df0b600fe925cb617109744e0865 /media-sound/mp3report/mp3report-1.0.2.ebuild
parentwww-servers/uwsgi: correct go dependency (diff)
downloadgentoo-b92ee6e4792da89160239483b7b92eb647407e88.tar.gz
gentoo-b92ee6e4792da89160239483b7b92eb647407e88.tar.bz2
gentoo-b92ee6e4792da89160239483b7b92eb647407e88.zip
media-sound/mp3report: Port to EAPI 7
Bug: https://bugs.gentoo.org/697274 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/mp3report/mp3report-1.0.2.ebuild')
-rw-r--r--media-sound/mp3report/mp3report-1.0.2.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/media-sound/mp3report/mp3report-1.0.2.ebuild b/media-sound/mp3report/mp3report-1.0.2.ebuild
index 798f21705442..9d7c418407b0 100644
--- a/media-sound/mp3report/mp3report-1.0.2.ebuild
+++ b/media-sound/mp3report/mp3report-1.0.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
DESCRIPTION="Perl script to create an HTML report of MP3 files in a directory"
HOMEPAGE="http://mp3report.sourceforge.net/"
@@ -10,20 +10,21 @@ SRC_URI="mirror://sourceforge/${PN}/${PF}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-RDEPEND=">=dev-lang/perl-5.8.6
+RDEPEND="
+ dev-lang/perl
dev-perl/MP3-Info"
src_install() {
- dodir /usr/share/mp3report
+ newbin mp3report.pl mp3report
+
insinto /usr/share/mp3report
doins extended-template.html default-template.html
+
dodoc documentation.* ChangeLog README TODO
- newbin mp3report.pl mp3report
doman *.1
}
pkg_postinst() {
- elog "You can find templates in /usr/share/mp3report"
+ elog "You can find templates in ${EROOT}/usr/share/mp3report"
}