summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/lltag/lltag-0.14.5.ebuild')
-rw-r--r--media-sound/lltag/lltag-0.14.5.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/media-sound/lltag/lltag-0.14.5.ebuild b/media-sound/lltag/lltag-0.14.5.ebuild
new file mode 100644
index 00000000000..b4c01a70bba
--- /dev/null
+++ b/media-sound/lltag/lltag-0.14.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit perl-module
+
+DESCRIPTION="Automatic command-line mp3/ogg/flac file tagger and renamer"
+HOMEPAGE="http://home.gna.org/lltag"
+SRC_URI="http://download.gna.org/lltag/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="flac mp3 ogg readline"
+
+RDEPEND="dev-perl/libwww-perl
+ mp3? ( media-sound/mp3info dev-perl/MP3-Tag )
+ ogg? ( media-sound/vorbis-tools )
+ flac? ( media-libs/flac )
+ readline? ( dev-perl/Term-ReadLine-Perl )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ mylltagopts=(
+ "DESTDIR=${D}"
+ "PREFIX=/usr"
+ "SYSCONFDIR=/etc"
+ "MANDIR=/usr/share/man"
+ "PERL_INSTALLDIRS=vendor"
+ "DOCDIR=/usr/share/doc/${PF}"
+ )
+}
+
+src_compile() {
+ emake "${mylltagopts[@]}"
+}
+
+src_install() {
+ emake "${mylltagopts[@]}" install{,-doc,-man}
+ dodoc Changes
+ perl_delete_localpod
+ # Move config to recommended location
+ mv "${D}usr/share/doc/${PF}"/config "${D}"etc/lltag/ || die
+}