summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2013-11-27 12:32:52 +0000
committerTony Vroon <chainsaw@gentoo.org>2013-11-27 12:32:52 +0000
commit73108402b185f362a67cf3eaad8a8d58eba0411e (patch)
tree06e956cbc987bfe470f739ae13fd19629dfbcd5d /dev-embedded
parentStable for amd64 wrt bug #490078 (diff)
downloadgentoo-2-73108402b185f362a67cf3eaad8a8d58eba0411e.tar.gz
gentoo-2-73108402b185f362a67cf3eaad8a8d58eba0411e.tar.bz2
gentoo-2-73108402b185f362a67cf3eaad8a8d58eba0411e.zip
Version bump, as requested by Wolfram Schlich in bug #492598.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/dfu-programmer/ChangeLog7
-rw-r--r--dev-embedded/dfu-programmer/dfu-programmer-0.6.2.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-embedded/dfu-programmer/ChangeLog b/dev-embedded/dfu-programmer/ChangeLog
index 6e88188bb632..3b381cce3d37 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-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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dfu-programmer/ChangeLog,v 1.5 2013/11/27 12:32:52 chainsaw Exp $
+
+*dfu-programmer-0.6.2 (27 Nov 2013)
+
+ 27 Nov 2013; Tony Vroon <chainsaw@gentoo.org> +dfu-programmer-0.6.2.ebuild:
+ Version bump, as requested by Wolfram Schlich in bug #492598.
*dfu-programmer-0.6.1 (08 May 2013)
diff --git a/dev-embedded/dfu-programmer/dfu-programmer-0.6.2.ebuild b/dev-embedded/dfu-programmer/dfu-programmer-0.6.2.ebuild
new file mode 100644
index 000000000000..b710ac479d86
--- /dev/null
+++ b/dev-embedded/dfu-programmer/dfu-programmer-0.6.2.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.2.ebuild,v 1.1 2013/11/27 12:32:52 chainsaw 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
+}