summaryrefslogtreecommitdiff
blob: 72f546a2e87af9533c9bf70d1f3ea476137ddb16 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/bmp-find/bmp-find-0.5.2.ebuild,v 1.5 2005/08/28 17:11:56 metalgod Exp $

IUSE=""

MY_P=${P/bmp-/beep}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Beepfind is a BMP plugin to allow regexp searching, enqueuing and playing of files"
HOMEPAGE="http://xmmsfind.sourceforge.net/"
SRC_URI="mirror://sourceforge/xmmsfind/${MY_P}.tar.gz"

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

DEPEND="media-sound/beep-media-player"

src_compile() {
	emake || die "emake failed"
}

src_install() {
	plugin_install_dir="${D}$(pkg-config bmp --variable=general_plugin_dir)"
	make \
		PLUGIN_INSTALL_DIR=${plugin_install_dir} \
		REMOTE_INSTALL_DIR=${D}usr/bin install || die "install failed"

	dodoc BUGS COPYING INSTALL README TODO VERSION
}