blob: 9c72b15bd098d07927eb319282dee7dfe8adc1b4 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/openmoko-dfu-util/openmoko-dfu-util-9999.ebuild,v 1.2 2008/11/28 20:03:58 pva Exp $
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 (Device Firmware Upgrade) protocol"
HOMEPAGE="http://wiki.openmoko.org/wiki/Dfu-util"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="dev-libs/libusb"
src_unpack() {
subversion_src_unpack
cd "${S}"
sed -i '/^bin_PROGRAMS/s:dfu-util_static::' src/Makefile.am
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die "Make install failed"
doman doc/dfu-util.1
}
|