summaryrefslogtreecommitdiff
blob: bd55c361a2b61cb4d6c7ee5e42521400c308a1a0 (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
37
38
39
40
41
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-mp3cue/xmms-mp3cue-0.94.ebuild,v 1.5 2004/06/24 23:43:34 agriffis Exp $

inherit eutils

DESCRIPTION="cue file support for XMMS"
HOMEPAGE="http://brianvictor.tripod.com/mp3cue.htm"
SRC_URI="http://brianvictor.tripod.com/XMMS-mp3cue-${PV}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~ppc"
IUSE="debug"

S=${WORKDIR}/XMMS-mp3cue-${PV}

RDEPEND="media-sound/xmms"

DEPEND="${RDEPEND}
	sys-apps/sed"

DOCS="Changelog INSTALL README TODO"

src_unpack() {
	unpack ${A}

	cd ${S};

	if use debug; then
		sed -i 's/DEBUG := n/DEBUG := y/g' Makefile.in
	fi

	epatch ${FILESDIR}/${P}-import-cue-bug.patch
}

src_install() {
	exeinto `xmms-config --general-plugin-dir`
	doexe libmp3cue.so

	dodoc ${DOCS}
}