summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2015-08-25 12:43:00 +0100
committerTony Vroon <chainsaw@gentoo.org>2015-08-25 12:43:31 +0100
commitd9d07097aa61b62c8d2299d67e1eec0ae8e2d2b7 (patch)
tree842884000a2a665798e1b7981bacbe3972b6319e /dev-embedded/dfu-programmer
parentdev-libs/boost: backport build fixes for Boost::Atomic (diff)
downloadgentoo-d9d07097aa61b62c8d2299d67e1eec0ae8e2d2b7.tar.gz
gentoo-d9d07097aa61b62c8d2299d67e1eec0ae8e2d2b7.tar.bz2
gentoo-d9d07097aa61b62c8d2299d67e1eec0ae8e2d2b7.zip
dev-embedded/dfu-programmer: Version bump to 0.7.2 as requested by Kobboi in bug #558472.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-embedded/dfu-programmer')
-rw-r--r--dev-embedded/dfu-programmer/Manifest1
-rw-r--r--dev-embedded/dfu-programmer/dfu-programmer-0.7.2.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-embedded/dfu-programmer/Manifest b/dev-embedded/dfu-programmer/Manifest
index 5eeaddff7b33..d3cb0f93baa9 100644
--- a/dev-embedded/dfu-programmer/Manifest
+++ b/dev-embedded/dfu-programmer/Manifest
@@ -1,3 +1,4 @@
DIST dfu-programmer-0.5.4.tar.gz 126700 SHA256 c0fb08fead3d4379368d0e4af5a5aa99c7acee32fa8696cd3e27d2f7856a20de SHA512 c6e0000e7d849144ff4d9191b09540f6a7c7414221952b26898421622079c1fd300e1a4d0f35db6f867e539f59c129850c6a9c745bc0f9916723e8e89fe2fd63 WHIRLPOOL bd8f7c6831544209e4513bd4231e4e1f6f43fadff05d319c22551d8cc99e1b0b5b0b98515175baaf3cf8e6baf79ff140b714f314f39063a80583dcce6dec7404
DIST dfu-programmer-0.6.1.tar.gz 134394 SHA256 6c4c0ac8860894b970ffeef9f5b579a3465846d013e5c0d9c7fd19bb828ea857 SHA512 feb54119496013b8e77b793d8df0d68bf58de5a7d68ff0cf7a70c0bb63c70c4a43d169ecb71761df96bb07f6a23cd959c20132f5446361045f46df965b8b1e43 WHIRLPOOL a86fed7c6b623182487048f8db555ffa1f9a123bdb912df7adebd0f3742dadcdb1d4a778da4e607f63114944077742cf3cdc44bb9e98fc421e624ba69c2ea905
DIST dfu-programmer-0.6.2.tar.gz 134941 SHA256 0120966a424dd98124962055750e90cbd6c7b6b0fbf5b187bf435daa0a24af65 SHA512 e3905a71c7b6e0a6e322d9fb781c636caa4431166bf032ad2c14db764a4f9ec952d25bd431ed04a41550fca9a8afcae7aa939a015f3b78361f430ad36c26c381 WHIRLPOOL 00d0f28a31ddc567add1d9d4ab7f3fed35a239f1a6ad01cdcf3d3c8fd51b64b9367cc086f5d122ec511be2681c43a0a77756743702a3ae0201ebac6e2a8078aa
+DIST dfu-programmer-0.7.2.tar.gz 146613 SHA256 1db4d36b1aedab2adc976e8faa5495df3cf82dc4bf883633dc6ba71f7c4af995 SHA512 429b89192bb5a9653ad8678dfc182bfc30eb057d0d1f72fe88efdf85005d3ad557e0f572f4fad3346f1f1078cd273a289f4bba2663bb1f840e6bf724d5293db4 WHIRLPOOL 1cd17a859fb3a945c41eecb9d066b07ad022bc06ef6fe9f1ab7e1e8d1685a494fb98056d14624085e270fa25620e4e9b2030894ff746bbc4c730e4010b860475
diff --git a/dev-embedded/dfu-programmer/dfu-programmer-0.7.2.ebuild b/dev-embedded/dfu-programmer/dfu-programmer-0.7.2.ebuild
new file mode 100644
index 000000000000..dea4110e03b9
--- /dev/null
+++ b/dev-embedded/dfu-programmer/dfu-programmer-0.7.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+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
+}