Hello, 

To save time for Gentoo users, here is the ebuild for dfu-util, based on
the svn version.

it's pretty simple, but helps a lot.

Best regards

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

ESVN_REPO_URI="http://svn.openmoko.org/trunk/src/host/dfu-util/";

inherit subversion autotools

DESCRIPTION="Implements the Host (PC) side of the USB DFU (Universal Serial Bus 
Device Firmware Upgrade) protocol."
HOMEPAGE="http://wiki.openmoko.org/wiki/Dfu-util/";

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

DEPEND="dev-libs/libusb"
RDEPEND="dev-libs/libusb"

src_unpack() {
        subversion_src_unpack
        cd ${S}
}

src_compile() {
        eautoreconf || die "eautoreconf failed"
        econf prefix=/usr/local || die "Configure failed"
        emake || die "Make failed"
}

src_install() {
        emake DESTDIR=${D} install || die "Make install failed"
        dodoc COPYING 
}

Reply via email to