summaryrefslogtreecommitdiff
blob: d0e2e291fcf763579e925e25e0f3e44fe602c71a (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
42
43
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/xmms-spc-0.2.1-r1.ebuild,v 1.2 2004/09/03 09:00:41 eradicator Exp $

IUSE=""

inherit eutils gnuconfig libtool

MY_P=spcxmms-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="SPC Plugun for XMMS"
HOMEPAGE="http://www.self-core.org/~kaoru-k/"
SRC_URI="http://www.self-core.org/~kaoru-k/pub/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
#-sparc: 0.2.1-r1: audio does not play
KEYWORDS="x86 amd64 -sparc"

RDEPEND="media-sound/xmms"
DEPEND="${RDEPEND}
	sys-devel/automake"

src_unpack() {
	unpack ${A}

	cd ${S}
	epatch ${FILESDIR}/${PF}.patch

	export WANT_AUTOMAKE=1.4
	export WANT_AUTOCONF=2.5

	aclocal || die
	automake || die
	autoconf || die
	elibtoolize
	gnuconfig_update
}

src_install() {
	make DESTDIR=${D} libdir=/usr/lib/xmms/Input install || die
	dodoc AUTHORS COPYING NEWS README
}