diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-08 02:47:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-05-08 02:47:21 +0000 |
commit | c9bc2925bd4b20028c6569de3d2497c237939141 (patch) | |
tree | eb566e7532daae3b49d1c37ae70e8b1d7da949d5 | |
parent | Automake-1.13 fix for #467096 (diff) | |
download | gentoo-2-c9bc2925bd4b20028c6569de3d2497c237939141.tar.gz gentoo-2-c9bc2925bd4b20028c6569de3d2497c237939141.tar.bz2 gentoo-2-c9bc2925bd4b20028c6569de3d2497c237939141.zip |
Version bump #468746 by Priit Laes.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
-rw-r--r-- | dev-embedded/dfu-programmer/ChangeLog | 10 | ||||
-rw-r--r-- | dev-embedded/dfu-programmer/dfu-programmer-0.6.1.ebuild | 44 |
2 files changed, 51 insertions, 3 deletions
diff --git a/dev-embedded/dfu-programmer/ChangeLog b/dev-embedded/dfu-programmer/ChangeLog index dcceeb8ec4f4..6e88188bb632 100644 --- a/dev-embedded/dfu-programmer/ChangeLog +++ b/dev-embedded/dfu-programmer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-embedded/dfu-programmer -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dfu-programmer/ChangeLog,v 1.3 2012/12/11 09:37:32 ssuominen Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dfu-programmer/ChangeLog,v 1.4 2013/05/08 02:47:21 vapier Exp $ + +*dfu-programmer-0.6.1 (08 May 2013) + + 08 May 2013; Mike Frysinger <vapier@gentoo.org> +dfu-programmer-0.6.1.ebuild: + Version bump #468746 by Priit Laes. 11 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> dfu-programmer-0.5.4-r1.ebuild: @@ -21,4 +26,3 @@ +dfu-programmer-0.5.4.ebuild, +metadata.xml: Initial commit. Ebuild & patches were developed by Håvard Wall, Michael Mathurin & Mark James in bug #233806. Some minor tweaks by me. - diff --git a/dev-embedded/dfu-programmer/dfu-programmer-0.6.1.ebuild b/dev-embedded/dfu-programmer/dfu-programmer-0.6.1.ebuild new file mode 100644 index 000000000000..46a6fd5e43b0 --- /dev/null +++ b/dev-embedded/dfu-programmer/dfu-programmer-0.6.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dfu-programmer/dfu-programmer-0.6.1.ebuild,v 1.1 2013/05/08 02:47:21 vapier Exp $ + +EAPI="4" + +inherit udev + +DESCRIPTION="A Device Firmware Update based USB programmer for Atmel chips" +HOMEPAGE="http://dfu-programmer.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="virtual/libusb:1 + virtual/udev" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + # Upstream has fixed this in their configure already. + tc-export CPP PKG_CONFIG + sed -i \ + -e "/LIBUSB_1_0_CFLAGS=/s:=.*:='$(${PKG_CONFIG} --cflags libusb-1.0)':" \ + -e "/LIBUSB_1_0_LIBS=/s:=.*:='$(${PKG_CONFIG} --libs libusb-1.0)':" \ + configure || die +} + +src_install() { + default + + cat <<-EOF > 70-dfu-programmer.rules + # + # do not edit this file, it will be overwritten on update + # + EOF + printf 'SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="%s", MODE="660", GROUP="plugdev", SYMLINK+="dfu-%%n"\n' \ + 2ff{a,b,9,7,4,3} >> 70-dfu-programmer.rules + + udev_dorules 70-dfu-programmer.rules +} |