summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-12-27 23:18:30 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-12-27 23:18:30 +0000
commitf08c67690693161be2384d46ccedfdb25fda2286 (patch)
tree2b99d9ed742dc8f32c28d3c6636fb55222c3a843 /dev-embedded
parentunused X-related licenses (see bug #298556) (diff)
downloadgentoo-2-f08c67690693161be2384d46ccedfdb25fda2286.tar.gz
gentoo-2-f08c67690693161be2384d46ccedfdb25fda2286.tar.bz2
gentoo-2-f08c67690693161be2384d46ccedfdb25fda2286.zip
Version bump for the herd, bug #264822. Also fixes bugs #264821 and #223245.
(Portage version: 2.2_rc58/cvs/Linux x86_64)
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/avrdude/ChangeLog10
-rw-r--r--dev-embedded/avrdude/avrdude-5.8.ebuild45
2 files changed, 53 insertions, 2 deletions
diff --git a/dev-embedded/avrdude/ChangeLog b/dev-embedded/avrdude/ChangeLog
index c8c4d8433d0e..a018ffc6ff42 100644
--- a/dev-embedded/avrdude/ChangeLog
+++ b/dev-embedded/avrdude/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-embedded/avrdude
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/ChangeLog,v 1.40 2008/07/30 07:00:31 solar Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/ChangeLog,v 1.41 2009/12/27 23:18:30 robbat2 Exp $
+
+*avrdude-5.8 (27 Dec 2009)
+
+ 27 Dec 2009; Robin H. Johnson <robbat2@gentoo.org> +avrdude-5.8.ebuild:
+ Version bump for the herd, bug #264822. Also fixes bugs #264821 and
+ #223245.
30 Jul 2008; <solar@gentoo.org> avrdude-5.5.ebuild:
- stable on x86/amd64 and keyworded ~arm
diff --git a/dev-embedded/avrdude/avrdude-5.8.ebuild b/dev-embedded/avrdude/avrdude-5.8.ebuild
new file mode 100644
index 000000000000..7e7bd1dec231
--- /dev/null
+++ b/dev-embedded/avrdude/avrdude-5.8.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/avrdude-5.8.ebuild,v 1.1 2009/12/27 23:18:30 robbat2 Exp $
+
+EAPI=2
+
+DESCRIPTION="AVR Downloader/UploaDEr"
+HOMEPAGE="http://savannah.nongnu.org/projects/avrdude"
+SRC_URI_BASE="http://savannah.nongnu.org/download/${PN}"
+SRC_URI="${SRC_URI_BASE}/${P}.tar.gz
+ doc? ( ${SRC_URI_BASE}/${PN}-doc-${PV}.tar.gz
+ ${SRC_URI_BASE}/${PN}-doc-${PV}.pdf )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm ~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="doc"
+
+RDEPEND="virtual/libusb"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # let the build system re-generate these, bug #120194
+ rm -f lexer.c config_gram.c config_gram.h
+}
+
+src_compile() {
+ # The automake target for these files does not use tempfiles or create these
+ # atomically, confusing a parallel build. So we force them first.
+ emake lexer.c config_gram.c config_gram.h || die "emake of lexer failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog* NEWS README || die "dodoc failed"
+
+ if use doc ; then
+ newdoc "${DISTDIR}/${PN}-doc-${PV}.pdf" avrdude.pdf || \
+ die "newdoc failed"
+ dohtml -r "${WORKDIR}/avrdude-html/" || die "dohtml failed"
+ fi
+}