diff options
author | Yixun Lan <dlan@gentoo.org> | 2014-11-24 07:08:46 +0000 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2014-11-24 07:08:46 +0000 |
commit | eb0d9fa3fcd0ca66b98858b73bb452f528980a89 (patch) | |
tree | f5b80848fbc97ae8affba78ad210aa4de53924f4 /dev-embedded | |
parent | Version bump. (diff) | |
download | gentoo-2-eb0d9fa3fcd0ca66b98858b73bb452f528980a89.tar.gz gentoo-2-eb0d9fa3fcd0ca66b98858b73bb452f528980a89.tar.bz2 gentoo-2-eb0d9fa3fcd0ca66b98858b73bb452f528980a89.zip |
version bump, requested and tested by @perfinion
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/avrdude/ChangeLog | 7 | ||||
-rw-r--r-- | dev-embedded/avrdude/avrdude-6.1.ebuild | 54 |
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-embedded/avrdude/ChangeLog b/dev-embedded/avrdude/ChangeLog index c4f8152e7eff..9d86ccc79eda 100644 --- a/dev-embedded/avrdude/ChangeLog +++ b/dev-embedded/avrdude/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-embedded/avrdude # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/ChangeLog,v 1.59 2014/01/13 04:49:30 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/ChangeLog,v 1.60 2014/11/24 07:08:46 dlan Exp $ + +*avrdude-6.1 (24 Nov 2014) + + 24 Nov 2014; Yixun Lan <dlan@gentoo.org> +avrdude-6.1.ebuild: + version bump, requested and tested by @perfinion *avrdude-6.0.1 (13 Jan 2014) diff --git a/dev-embedded/avrdude/avrdude-6.1.ebuild b/dev-embedded/avrdude/avrdude-6.1.ebuild new file mode 100644 index 000000000000..698e7d70a2f7 --- /dev/null +++ b/dev-embedded/avrdude/avrdude-6.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/avrdude-6.1.ebuild,v 1.1 2014/11/24 07:08:46 dlan Exp $ + +EAPI=5 + +DESCRIPTION="AVR Downloader/UploaDEr" +HOMEPAGE="http://savannah.nongnu.org/projects/avrdude" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz + doc? ( + mirror://nongnu/${PN}/${PN}-doc-${PV}.tar.gz + mirror://nongnu/${PN}/${PN}-doc-${PV}.pdf + )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="doc ftdi ncurses readline" + +RDEPEND="virtual/libusb:1 + ftdi? ( dev-embedded/libftdi ) + ncurses? ( sys-libs/ncurses ) + readline? ( sys-libs/readline )" +DEPEND="${RDEPEND}" + +DOCS="AUTHORS ChangeLog* NEWS README" + +src_prepare() { + # let the build system re-generate these, bug #120194 + rm -f lexer.c config_gram.c config_gram.h || die +} + +src_configure() { + export ac_cv_lib_ftdi_ftdi_usb_get_strings=$(usex ftdi) + export ac_cv_lib_ncurses_tputs=$(usex ncurses) + export ac_cv_lib_readline_readline=$(usex readline) + default +} + +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 + emake +} + +src_install() { + default + + if use doc ; then + newdoc "${DISTDIR}/${PN}-doc-${PV}.pdf" avrdude.pdf + dohtml -r "${WORKDIR}/avrdude-html/" + fi +} |