summaryrefslogtreecommitdiffstats
path: root/media-plugins/xmms-mac/xmms-mac-0.3.1-r2.ebuild
blob: 83f512260197474c53a0bbc56a39f16e34dc974e (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: current version of ebuild http://atrey.karlin.mff.cuni.cz/~sanda/mac/$
inherit eutils

IUSE=""

DESCRIPTION="Plugin to listen ape files (monkey audio codec) files on xmms"
HOMEPAGE="http://sourceforge.net/projects/mac-port/"
SRC_URI="http://dside.dyndns.org/files/darklin/${P}.tar.gz"

SLOT="0"
KEYWORDS="x86 amd64"
LICENSE="MAC"

DEPEND="media-sound/xmms media-libs/mac"

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/xmms-mac-ds-gcc44.patch || die
}

src_compile () {
	econf --with-prefix=`xmms-config --prefix` --with-exec-prefix=`xmms-config --exec-prefix`|| die 'Configure failed'
	emake || die "Error compiling"
}

src_install()
{
	einstall DESTDIR="${D}" || die
	dodoc AUTHORS BUGS ChangeLog NEWS README TODO COPYING
}