summaryrefslogtreecommitdiff
blob: e22ea18f74dd46b1324a6c2bde79d699c3f963c2 (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
35
36
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/id3v2/id3v2-0.1.9.ebuild,v 1.1 2003/03/27 09:31:11 seemant Exp $

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

DEPEND="media-libs/id3lib"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"

src_unpack()
{
	unpack "${A}"
	cd "${S}"
	# The tarball came with a compiled binary. ;^)
	make clean
	sed -e "/g++/ s|-g|${CFLAGS}|" < Makefile > Makefile.hacked
	mv Makefile.hacked Makefile
}

src_compile()
{
	emake || die
}

src_install()
{
	dobin id3v2
	doman id3v2.1
	dodoc COPYING INSTALL README
}