From c990ba78ecdb3b397f82ca1f903fbd769a05f6d4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 2 Nov 2011 14:31:41 +0000 Subject: Version bump. (Portage version: 2.2.0_alpha71/cvs/Linux x86_64) --- app-mobilephone/dfu-util/ChangeLog | 7 ++++- app-mobilephone/dfu-util/dfu-util-0.5.ebuild | 38 ++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 app-mobilephone/dfu-util/dfu-util-0.5.ebuild (limited to 'app-mobilephone') diff --git a/app-mobilephone/dfu-util/ChangeLog b/app-mobilephone/dfu-util/ChangeLog index fd81872a5977..b2c75afaabfc 100644 --- a/app-mobilephone/dfu-util/ChangeLog +++ b/app-mobilephone/dfu-util/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-mobilephone/dfu-util # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/dfu-util/ChangeLog,v 1.6 2011/09/21 07:52:31 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/dfu-util/ChangeLog,v 1.7 2011/11/02 14:31:39 vapier Exp $ + +*dfu-util-0.5 (02 Nov 2011) + + 02 Nov 2011; Mike Frysinger +dfu-util-0.5.ebuild: + Version bump. 21 Sep 2011; Michał Górny dfu-util-9999.ebuild: Migrate to git-2. diff --git a/app-mobilephone/dfu-util/dfu-util-0.5.ebuild b/app-mobilephone/dfu-util/dfu-util-0.5.ebuild new file mode 100644 index 000000000000..0d98d210b0f7 --- /dev/null +++ b/app-mobilephone/dfu-util/dfu-util-0.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/dfu-util/dfu-util-0.5.ebuild,v 1.1 2011/11/02 14:31:41 vapier Exp $ + +EAPI="2" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.openezx.org/dfu-util.git" + inherit autotools git + SRC_URI="" + #KEYWORDS="" +else + SRC_URI="http://dfu-util.gnumonks.org/releases/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +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" +IUSE="" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + git_src_prepare + eautoreconf + fi + sed -i '/^bin_PROGRAMS/s:dfu-util_static[^ ]*::' src/Makefile.in +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ChangeLog README TODO +} -- cgit v1.2.3-65-gdbad