# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="A command line editor for id3v2 tags"
HOMEPAGE="http://id3v2.sourceforge.net/"
SRC_URI="mirror://sourceforge/id3v2/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc ppc64 x86"

DEPEND="media-libs/id3lib"
RDEPEND="${DEPEND}"

src_prepare() {
	default
	emake clean
}

src_configure() {
	tc-export CC CXX
}

src_install() {
	dobin id3v2
	doman id3v2.1
	einstalldocs
}