diff options
author | D.M.D. Ljungmark <spider@gentoo.org> | 2002-05-18 19:37:56 +0000 |
---|---|---|
committer | D.M.D. Ljungmark <spider@gentoo.org> | 2002-05-18 19:37:56 +0000 |
commit | 8b883e2cf0481934dce5bc8411ef159053bab0e3 (patch) | |
tree | 2e38238c462259262857affdbf0849618567f457 /media-sound/mp3info/mp3info-0.8.4-r1.ebuild | |
parent | only create ps pdf etc. docs if USE doc is on. add missing ghostscipt dep in ... (diff) | |
download | historical-8b883e2cf0481934dce5bc8411ef159053bab0e3.tar.gz historical-8b883e2cf0481934dce5bc8411ef159053bab0e3.tar.bz2 historical-8b883e2cf0481934dce5bc8411ef159053bab0e3.zip |
fix some gtk use things
Diffstat (limited to 'media-sound/mp3info/mp3info-0.8.4-r1.ebuild')
-rw-r--r-- | media-sound/mp3info/mp3info-0.8.4-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/media-sound/mp3info/mp3info-0.8.4-r1.ebuild b/media-sound/mp3info/mp3info-0.8.4-r1.ebuild new file mode 100644 index 000000000000..38b0648e12d1 --- /dev/null +++ b/media-sound/mp3info/mp3info-0.8.4-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Claes Nästen <pekdon@gmx.net> +# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3info/mp3info-0.8.4-r1.ebuild,v 1.1 2002/05/18 19:37:56 spider 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 + if [ `use gtk` ]; then + emake gmp3info || die "gtk mp3info failed" + fi +} + +src_install() { + + dobin mp3info + use gtk && dobin gmp3info + + dodoc ChangeLog INSTALL LICENSE README + doman mp3info.1 +} |