summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/lltag/Manifest1
-rw-r--r--media-sound/lltag/lltag-0.14.5.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/media-sound/lltag/Manifest b/media-sound/lltag/Manifest
index a6eedb29d067..22a46424ba60 100644
--- a/media-sound/lltag/Manifest
+++ b/media-sound/lltag/Manifest
@@ -1 +1,2 @@
DIST lltag-0.14.4.tar.bz2 48137 SHA256 5fe8d993289136395eb040ac6f1fa633cd8fd6a02a39de2db6f0ff1397ec948d SHA512 d2dbc513ce5e75a808acb7676a2513ece34322d134d52e1f5ea44f51b7c134699a0a8e368265c2594fd275873e4908a21af135c8714278954d0b45f2fc239bf7 WHIRLPOOL 62caf3b3e5fc05dd081cf4323b1b90e302306feee4a42c3a8a7e92703cbf08986f82b8f8a5d3faf4a13f69e59d4148a35b1b0c507e1284285ed6cc9893298dbb
+DIST lltag-0.14.5.tar.bz2 48035 SHA256 7a985aec809fcbeb99879a2d7fe6defe292cbea8a8a6e29e97500117d84289d6 SHA512 64d16ae1bfb920f2e10add6728bdbe261662688b5c99e4cc92ffa5d7dd5fe596c6c3ccbe61b432a4594e49003fc981b20588def9523a65ee934418afb512bedd WHIRLPOOL 1995694ea82f4b9f1c148a798c8b6980bdf8a26d826c6d6da9624a43a217fa5dd891ec81fd4cfbc63b39501ea43d8799e2f8e0632d7d20a4416a64df4a7bc222
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 000000000000..b4c01a70bbaa
--- /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
+}