# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Beatman Flash MPĀ§ Player Linux Driver"
HOMEPAGE="http://beatman.sourceforge.net/"
SRC_URI="mirror://sourceforge/beatman/beatman-${PV}.tar.gz"

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

IUSE=""
DEPEND="dev-libs/libusb"
S=${WORKDIR}/${P}

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

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

src_install(){
 make DESTDIR=${D} install || die "make install failed"
 dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
}