Gentoo Archives: gentoo-commits

From: Matthew Smith <matthew@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/avrdude/
Date: Wed, 24 Aug 2022 19:08:46
Message-Id: 1661368109.09782db84e5721e46cf79cce07b8c1e23805819b.matthew@gentoo
1 commit: 09782db84e5721e46cf79cce07b8c1e23805819b
2 Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 24 19:08:29 2022 +0000
4 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 24 19:08:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09782db8
7
8 dev-embedded/avrdude: remove live ebuild
9
10 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
11
12 dev-embedded/avrdude/avrdude-9999.ebuild | 73 --------------------------------
13 1 file changed, 73 deletions(-)
14
15 diff --git a/dev-embedded/avrdude/avrdude-9999.ebuild b/dev-embedded/avrdude/avrdude-9999.ebuild
16 deleted file mode 100644
17 index 701d5da2a71a..000000000000
18 --- a/dev-embedded/avrdude/avrdude-9999.ebuild
19 +++ /dev/null
20 @@ -1,73 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -inherit toolchain-funcs
27 -
28 -MY_DOC_PV=6.3
29 -DESCRIPTION="AVR Downloader/UploaDEr"
30 -HOMEPAGE="https://savannah.nongnu.org/projects/avrdude"
31 -
32 -if [[ ${PV} == *9999* ]] ; then
33 - ESVN_REPO_URI="svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude"
34 - inherit autotools subversion
35 -else
36 - SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
37 -
38 - KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
39 -fi
40 -
41 -SRC_URI+=" doc? (
42 - mirror://nongnu/${PN}/${PN}-doc-${MY_DOC_PV}.tar.gz
43 - mirror://nongnu/${PN}/${PN}-doc-${MY_DOC_PV}.pdf
44 -)"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0"
48 -IUSE="doc ftdi ncurses readline"
49 -
50 -RDEPEND="
51 - virtual/libelf
52 - virtual/libusb:1
53 - virtual/libusb:0
54 - ftdi? ( dev-embedded/libftdi:= )
55 - ncurses? ( sys-libs/ncurses:0= )
56 - readline? ( sys-libs/readline:0= )
57 -"
58 -DEPEND="${RDEPEND}"
59 -
60 -src_prepare() {
61 - default
62 -
63 - [[ ${PV} == *9999* ]] && eautoreconf
64 -}
65 -
66 -src_configure() {
67 - # somehow this doesnt get set when cross-compiling and breaks build
68 - tc-export AR
69 -
70 - export ac_cv_lib_ftdi_ftdi_usb_get_strings=$(usex ftdi)
71 - export ac_cv_lib_ncurses_tputs=$(usex ncurses)
72 - export ac_cv_lib_readline_readline=$(usex readline)
73 -
74 - econf --disable-static
75 -}
76 -
77 -src_compile() {
78 - # The automake target for these files does not use tempfiles or create
79 - # these atomically, confusing a parallel build. So we force them first.
80 - emake lexer.c config_gram.c config_gram.h
81 - emake
82 -}
83 -
84 -src_install() {
85 - default
86 -
87 - if use doc ; then
88 - newdoc "${DISTDIR}/${PN}-doc-${MY_DOC_PV}.pdf" avrdude.pdf
89 - dodoc -r "${WORKDIR}/avrdude-html/"
90 - fi
91 -
92 - find "${ED}" -name '*.la' -delete || die
93 -}