summaryrefslogtreecommitdiff
path: root/dev-embedded/uisp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-embedded/uisp
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-embedded/uisp')
-rw-r--r--dev-embedded/uisp/Manifest4
-rw-r--r--dev-embedded/uisp/files/mega-48-88-168.patch29
-rw-r--r--dev-embedded/uisp/metadata.xml8
-rw-r--r--dev-embedded/uisp/uisp-20050207-r1.ebuild28
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-embedded/uisp/Manifest b/dev-embedded/uisp/Manifest
new file mode 100644
index 000000000000..1b710b42dad9
--- /dev/null
+++ b/dev-embedded/uisp/Manifest
@@ -0,0 +1,4 @@
+AUX mega-48-88-168.patch 1723 BLAKE2B 7b52560d9a516b9d04efc5b3bc6b59759437217bf1632b3d3de952e3975f58762af3733f63ff35dde687e1c3591ef5805f25c00d164ac48b8aee1b12cacfa087 SHA512 5c850c08320bc5888b8d6556e05c06f5e201a6cc311a89c394d6ad76a9a1332bfe2296731d952cf0b911c8ab94ea34520535fa8011976829abc9cd4b48303fa5
+DIST uisp-20050207.tar.gz 166745 BLAKE2B a99bd0d39a053797d3dee0a4390d0ffcca014bed465ba2aea3e99022fff8c3f5f4dbe96a0e33422ffcfa33621d94f42d37dac17862fd25e7902b3bf79aa90692 SHA512 1dd62d97c2a459abaed4ce60302e7153564d0fd87689c40d175757549fe8e797749fd2f76c6c02bcb85e56600d7e4c790c396dc2b56e152ead486df8e1bc2fe7
+EBUILD uisp-20050207-r1.ebuild 661 BLAKE2B a33ead36606bba4dbaf31dd0ac88fe50b4aba3c2847a7c0901ed747eca65c8ada004c8df4d88272b0621d17bb4f29a1e4cef0993d449b3b220d12161dde2ccca SHA512 1906e79c1bcd096ea85c7de8c7d52e002bdc386aa5fd1531f0327ec89c8f4ec1514bb55078d00cd333fd47f97623885ef6bbccb1c03af6b65db35f858e74ed3b
+MISC metadata.xml 247 BLAKE2B e46b8f2d053251af5cb591bb2ee5e35089c4e8174ee2e7a3c504db23f844b65083d4a3e5198da3977ad3e98b67cab2e0de686a3c62009b487c1e64785a8ff65d SHA512 15df289e0f962f564551f61ada3cfef0311f6af639887def780bf5ad3be105515c8d24c950ff340ed35d89b9cd994af3540322b684c5dec3b43ec6bb0041aa4e
diff --git a/dev-embedded/uisp/files/mega-48-88-168.patch b/dev-embedded/uisp/files/mega-48-88-168.patch
new file mode 100644
index 000000000000..dad337b740a7
--- /dev/null
+++ b/dev-embedded/uisp/files/mega-48-88-168.patch
@@ -0,0 +1,29 @@
+diff -Nura uisp-20050207/src/Avr.C uisp-20050207+mega-48-88-168/src/Avr.C
+--- uisp-20050207/src/Avr.C 2005-02-07 19:55:08.000000000 -0300
++++ uisp-20050207+mega-48-88-168/src/Avr.C 2005-06-28 17:11:15.000000000 -0300
+@@ -77,7 +77,7 @@
+ /* no longer in production? -> use 8515, 8535 instead */
+ { "AT90S4414", 0x92, 0x01, 4096, 0, 256, 4000, 4000, AVR_2313 },
+ { "AT90S4434", 0x92, 0x02, 4096, 0, 256, 4000, 4000, AVR_8535 },
+- { "ATmega48", 0x92, 0x05, 4096, 0, 256, 4000, 4000, AVR_M163 },
++ { "ATmega48", 0x92, 0x05, 4096, 32, 256, 2000, 1500, AVR_M163 },
+
+ { "AT90S8515", 0x93, 0x01, 8192, 0, 512, 4000, 4000, AVR_2313 },
+ { "AT90S8535", 0x93, 0x03, 8192, 0, 512, 4000, 4000, AVR_8535 },
+@@ -90,7 +90,7 @@
+ { "ATmega8515", 0x93, 0x06, 8192, 64, 512, 4500, 9000, AVR_M163 },
+ { "ATmega8", 0x93, 0x07, 8192, 64, 512, 4500, 9000, AVR_M163 },
+ { "ATmega8535", 0x93, 0x08, 8192, 64, 512, 4500, 9000, AVR_M163 },
+- { "ATmega88", 0x93, 0x0a, 8192, 64, 512, 4000, 4000, AVR_M163 },
++ { "ATmega88", 0x93, 0x0a, 8192, 64, 512, 2000, 1500, AVR_M163 },
+
+ #if 0
+ /* 12V parallel programming only; here just for the evidence */
+@@ -101,6 +101,7 @@
+ { "ATmega163", 0x94, 0x02, 16384, 128, 512, 15000, 3800, AVR_M163 },
+ { "ATmega16", 0x94, 0x03, 16384, 128, 512, 4500, 9000, AVR_M163 },
+ { "ATmega162", 0x94, 0x04, 16384, 128, 512, 4500, 9000, AVR_M128 },
++ { "ATmega168", 0x94, 0x06, 16384, 128, 512, 2000, 1500, AVR_M163 },
+ { "ATmega169", 0x94, 0x05, 16384, 128, 512, 4500, 9000, AVR_M128 },
+
+ { "ATmega323", 0x95, 0x01, 32768, 128, 1024, 15000, 3800, AVR_M163 },
diff --git a/dev-embedded/uisp/metadata.xml b/dev-embedded/uisp/metadata.xml
new file mode 100644
index 000000000000..71b1461e1146
--- /dev/null
+++ b/dev-embedded/uisp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>embedded@gentoo.org</email>
+ <name>Embedded Gentoo</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-embedded/uisp/uisp-20050207-r1.ebuild b/dev-embedded/uisp/uisp-20050207-r1.ebuild
new file mode 100644
index 000000000000..2a92a428cdd4
--- /dev/null
+++ b/dev-embedded/uisp/uisp-20050207-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="Tool for programming AVR microcontroller through the parallel port"
+HOMEPAGE="https://savannah.nongnu.org/projects/uisp"
+SRC_URI="https://savannah.nongnu.org/download/uisp/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+src_prepare() {
+ sed -i -e "/^DOC_INST_DIR/s:/[^/]*$:/${PF}:" Makefile.in || die
+ cd src
+ epatch "${FILESDIR}"/mega-48-88-168.patch
+ sed -i -e 's: -Werror::' Makefile.in || die
+}
+
+src_install() {
+ default
+ dodoc doc/*
+ rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
+}