summaryrefslogtreecommitdiff
blob: cd8f85eb89b255b2bdfe95ab65c377a036f791cd (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-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3info/mp3info-0.8.4.ebuild,v 1.3 2002/07/11 06:30:41 drobbins Exp $

S=${WORKDIR}/${P}
DESCRIPTION="An MP3 technical info viewer and ID3 1.x tag editor"
SRC_URI="ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/${PN}/${P}.tgz"
HOMEPAGE="http://ibiblio.org/mp3info/"

DEPEND="virtual/glibc
	gtk? ( =x11-libs/gtk+-1.2* )"


src_unpack() {

	unpack ${A}
	
	cd ${S}
	cp Makefile Makefile.orig
	sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile
}

src_compile() {

	emake mp3info || die
	use gtk && emake gmp3info || die
}

src_install() {

	dobin mp3info
	use gtk && dobin gmp3info
	
	dodoc ChangeLog INSTALL LICENSE README
	doman mp3info.1
}