summaryrefslogtreecommitdiff
blob: 8af98a45d14c628de0a38d67bdf4393084752e14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit eutils

DESCRIPTION="A Command-line ID3 Tag Editor"
HOMEPAGE="http://muennich.github.com/id3ted/"
SRC_URI="http://github.com/downloads/muennich/${PN}/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="media-libs/taglib
	sys-apps/file"
RDEPEND="${DEPEND}"

src_prepare() {
	epatch "${FILESDIR}/${P}-gentoo-as-needed.patch"
	epatch "${FILESDIR}/${P}-gentoo-proper-compiler-and-flags.patch"
}

src_compile() {
	emake PREFIX="/usr" || die
}

src_install() {
	emake PREFIX="${D}/usr" install || die
	dodoc CHANGELOG README || die
}