summaryrefslogtreecommitdiff
blob: ff83076ed8cc5a46116c20321e11dfdac05b9903 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-imms/xmms-imms-0.9.ebuild,v 1.1 2003/08/14 18:56:54 g2boojum Exp $

IUSE=""

MY_P=${P/xmms-/}
S="${WORKDIR}/${MY_P}"

DESCRIPTION="MMS is an intelligent playlist plug-in for XMMS that tracks your listening patterns and dynamically adapts to your taste."
SRC_URI="mirror://sourceforge/imms/${MY_P}.tar.bz2"
HOMEPAGE="http://www.luminal.org/phpwiki/index.php/IMMS"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

DEPEND="dev-db/sqlite
	media-libs/id3lib
	media-sound/xmms
	oggvorbis? ( media-libs/libvorbis )"

src_compile() {
	WANT_AUTOCONF_2_5=1
	autoheader
	autoconf

	econf || die "configure failed"

	emake || die "make failed"
}

src_install () {
	insinto "`xmms-config --general-plugin-dir`"
	doins libimms.so

	dodoc ChangeLog INSTALL LICENSE README
}