diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2012-11-15 12:20:22 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2012-11-15 12:20:22 +0000 |
commit | d103797d5592b2dc4ef91e2347ebb135ca0cf104 (patch) | |
tree | 2d9473204f28fd2d56c881f72f780900b12fe53a | |
parent | Initial commit. Ebuild & patches were developed by Håvard Wall, Michael Math... (diff) | |
download | historical-d103797d5592b2dc4ef91e2347ebb135ca0cf104.tar.gz historical-d103797d5592b2dc4ef91e2347ebb135ca0cf104.tar.bz2 historical-d103797d5592b2dc4ef91e2347ebb135ca0cf104.zip |
Initial commit. Ebuild & patches were developed by Håvard Wall, Michael Mathurin & Mark James in bug #233806. Some minor tweaks by me.
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64
Manifest-Sign-Key: 0xB5058F9A
-rw-r--r-- | dev-embedded/dfu-programmer/Manifest | 14 | ||||
-rw-r--r-- | dev-embedded/dfu-programmer/dfu-programmer-0.5.4.ebuild | 40 | ||||
-rw-r--r-- | dev-embedded/dfu-programmer/files/0.5.4-as-needed.patch | 12 | ||||
-rw-r--r-- | dev-embedded/dfu-programmer/metadata.xml | 9 |
4 files changed, 73 insertions, 2 deletions
diff --git a/dev-embedded/dfu-programmer/Manifest b/dev-embedded/dfu-programmer/Manifest index 80f1f6249265..1971feb7f3e7 100644 --- a/dev-embedded/dfu-programmer/Manifest +++ b/dev-embedded/dfu-programmer/Manifest @@ -1,5 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX 0.5.4-as-needed.patch 540 SHA256 863c51799d26e9dc784ff92e3b88bf69e1b19a5e6ddd22375e27782b25c9c4b1 SHA512 17bcb1fae69ec109ad94eed79a8b981b3f6753856a9c5a25843f7d5fb3420774434f30a2db37326a85be575d019cf652e4a7d726635dd48e0617240b2c79aa55 WHIRLPOOL 2087d7f90b7f8422761ee5f42a201c9ba757ab2da5c3b0a282398924b8cf3fb654d3b84d63798686ded64433d05718fb6cfbf94224b2ee5b875bbb66794a0d73 DIST dfu-programmer-0.5.4.tar.gz 126700 SHA256 c0fb08fead3d4379368d0e4af5a5aa99c7acee32fa8696cd3e27d2f7856a20de SHA512 c6e0000e7d849144ff4d9191b09540f6a7c7414221952b26898421622079c1fd300e1a4d0f35db6f867e539f59c129850c6a9c745bc0f9916723e8e89fe2fd63 WHIRLPOOL bd8f7c6831544209e4513bd4231e4e1f6f43fadff05d319c22551d8cc99e1b0b5b0b98515175baaf3cf8e6baf79ff140b714f314f39063a80583dcce6dec7404 -EBUILD dfu-programmer-0.5.4.ebuild 1115 SHA256 f4dc594ac5891c5a6d2fdb6a3c0c53ce8f4bfa8c792cd62f1fc6ed5ca3e9b54c SHA512 d2a408e6eb21cff3ef105312778507b8be6e0da259334eaa1b0aec46aa348276ec90959fed61222ed2712a19a134db787e5411617cbbdb3ecd143e54337074e6 WHIRLPOOL bddf53ee1187cce628968b3c642108601a06ac3ee20cee580594f4d7ac50c04bd3fb51801e64c6edc3a35f0161b658aab06b1632883c37861ad64fb807283e52 -MISC ChangeLog 431 SHA256 22b1b4c77654d2539e594281d3e7902ff7badd3351458e1b68ce3a69d8576a41 SHA512 438c4d592bab59c00c5abcf39117f58d0f8f12c294bffcb14cd22706376d26a277623f64cf91c6a36aa097625da69c317cac90cc17992dff9ac67e8ef4074439 WHIRLPOOL 1204eab0484ff478a6369f9f5fd7d020e91498abf476bf0d1a86e7c941bf792e36031ae99495bbfffbc84f6e82d9f0c6b558e3c9f2b025a87a3dcc5358bb9219 +EBUILD dfu-programmer-0.5.4.ebuild 1234 SHA256 c6b18282a683f699ca0b7af08eedc497bbc8173ce9978b21ca825bfde0f438ca SHA512 ec26f365b16fd8eca653627da2f27c74093a1a621e364022c08a89156481bea69bfae55cea8f1acf737eb13c9b678dcd1eb16197d4a12c12a69bde8696c97d1e WHIRLPOOL d544b4d9e6064b0ade470cd7143269284fa7f09eb0f54319dc356530b98bf7f18de84772c1dba7e241e459dec773ae78088b90b3dd54e14b6cc776b9f322cfc6 +MISC ChangeLog 532 SHA256 8e7863b87440396958f009842830e874cf9fca6df52cd5b30c84e5c9b00a69af SHA512 3ea4ef4cda1ee889f677fc87d6f5e084caf389d701b88eb13f208edf425466c817b48fcdb50912ef08ad6ee9ab4af4070d901778ae7caa70b583ae44bb21e063 WHIRLPOOL c3aa94a197216998e75cc08823bcf0732eb764ab7db2909302d08b1213018ab3540e654d49b52130cc43f59d3a1f9cd96df0b444d98cfe1f59a1ba6b5c627dd1 MISC metadata.xml 261 SHA256 9c0eae44725911a5c650cf6391e799c23c5398ab6117c76c39d7cf13dcf000fd SHA512 a00584b13ef67640b01375f1ebefc0f0604b206d90d759105eaaa2da600883d65e80724df5921635f27c8b10252fdd0412c1760137211aec1e4f1f997c4acece WHIRLPOOL 777ebc104c88ea399a68d128a03db87570f37d09a6ace615cb1463f85b999f15de05371e9440a06f914f0c0339da7224fe0219165dd4c4b90663df93573b201b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlCk3iUACgkQp5vW4rUFj5qchQCgqTzUE90aSrURFZyz6Ri3REPD +FpUAn3MC2S6QhgjfwsToi4dV4Gb+G61l +=SnzP +-----END PGP SIGNATURE----- diff --git a/dev-embedded/dfu-programmer/dfu-programmer-0.5.4.ebuild b/dev-embedded/dfu-programmer/dfu-programmer-0.5.4.ebuild new file mode 100644 index 000000000000..864f56aa45ec --- /dev/null +++ b/dev-embedded/dfu-programmer/dfu-programmer-0.5.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 2012-2012 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.5.4.ebuild,v 1.1 2012/11/15 12:20:19 chainsaw Exp $ + +EAPI=4 +inherit autotools base + +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="" + +DEPEND="virtual/libusb + sys-fs/udev" +RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${PV}-as-needed.patch" ) + +src_prepare() { + base_src_prepare + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + ebegin "Generating UDEV rules..." + UDEV_RULES="$(get_libdir)/udev/rules.d/70-dfu-programmer.rules" + mkdir -p "${D}"/${UDEV_RULES%/*} + echo -e "#\n# do not edit this file, it will be overwritten on update\n#" \ + > "${D}"/${UDEV_RULES} + for prodid in "2ffa" "2ffb" "2ff9" "2ff7" "2ff4" "2ff3" ; + do + echo "SUBSYSTEM==\"usb\", ACTION==\"add\", ATTRS{idVendor}==\"03eb\", \ + ATTRS{idProduct}==\"${prodid}\", MODE=\"660\", GROUP=\"plugdev\", \ + SYMLINK+=\"dfu-%n\"" >> "${D}"${UDEV_RULES} + done + eend $? +} diff --git a/dev-embedded/dfu-programmer/files/0.5.4-as-needed.patch b/dev-embedded/dfu-programmer/files/0.5.4-as-needed.patch new file mode 100644 index 000000000000..6b9bd5afa4fa --- /dev/null +++ b/dev-embedded/dfu-programmer/files/0.5.4-as-needed.patch @@ -0,0 +1,12 @@ +diff -u dfu-programmer-0.5.4.ORIG/configure.ac dfu-programmer-0.5.4/configure.ac +--- dfu-programmer-0.5.4.ORIG/configure.ac 2012-11-15 11:54:24.938577990 +0000 ++++ dfu-programmer-0.5.4/configure.ac 2012-11-15 11:55:47.730575031 +0000 +@@ -27,7 +27,7 @@ + PKG_CHECK_MODULES(LIBUSB_1_0, [ libusb-1.0 >= 1.0.0 ], have_libusb_1_0=yes, have_libusb_1_0=no) + if test "$have_libusb_1_0" = "yes"; then + CFLAGS="$CFLAGS $LIBUSB_1_0_CFLAGS" +- LDFLAGS="$LDFLAGS $LIBUSB_1_0_LIBS" ++ LIBS="$LIBS $LIBUSB_1_0_LIBS" + HAVE_USB=yes + fi + fi diff --git a/dev-embedded/dfu-programmer/metadata.xml b/dev-embedded/dfu-programmer/metadata.xml new file mode 100644 index 000000000000..4c33c37c58bb --- /dev/null +++ b/dev-embedded/dfu-programmer/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>embedded</herd> + <maintainer> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> +</pkgmetadata> |