diff options
Diffstat (limited to 'dev-embedded/uisp')
-rw-r--r-- | dev-embedded/uisp/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/uisp/files/mega-48-88-168.patch | 29 | ||||
-rw-r--r-- | dev-embedded/uisp/metadata.xml | 5 | ||||
-rw-r--r-- | dev-embedded/uisp/uisp-20050207-r1.ebuild | 29 |
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-embedded/uisp/Manifest b/dev-embedded/uisp/Manifest new file mode 100644 index 000000000000..5714c6a50658 --- /dev/null +++ b/dev-embedded/uisp/Manifest @@ -0,0 +1 @@ +DIST uisp-20050207.tar.gz 166745 SHA256 7c43c5f34f00a7243bda87457e43dc9122b5a3837b1370b30f39c1eecbedccae SHA512 1dd62d97c2a459abaed4ce60302e7153564d0fd87689c40d175757549fe8e797749fd2f76c6c02bcb85e56600d7e4c790c396dc2b56e152ead486df8e1bc2fe7 WHIRLPOOL 0cd0361ae5b12823a5d494f763b3719e3d0f939a232d4664f5282f028e505438968d175916c8b877a77c1edc7b53adc6d55a3e034bb1399f2f98bfc412db69ec 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..92114080841c --- /dev/null +++ b/dev-embedded/uisp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dev-embedded</herd> +</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..a49013c110ca --- /dev/null +++ b/dev-embedded/uisp/uisp-20050207-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils + +DESCRIPTION="tool for AVR microcontrollers which can interface to many hardware in-system programmers" +HOMEPAGE="http://savannah.nongnu.org/projects/uisp" +SRC_URI="http://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 +} |