Diff avrdude-6.3 with a avrdude-9999
/usr/portage/dev-embedded/avrdude/avrdude-9999.ebuild 2017-08-02 13:08:00.000000000 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2016 Gentoo Foundation |
|
1 |
# Copyright 1999-2017 Gentoo Foundation |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=6 |
5 | 5 | |
6 |
inherit toolchain-funcs |
|
6 |
inherit autotools subversion toolchain-funcs |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="AVR Downloader/UploaDEr" |
9 | 9 |
HOMEPAGE="https://savannah.nongnu.org/projects/avrdude" |
10 |
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz |
|
10 |
ESVN_REPO_URI="svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude" |
|
11 |
MY_DOC_PV=6.3 |
|
12 |
SRC_URI=" |
|
11 | 13 |
doc? ( |
12 |
mirror://nongnu/${PN}/${PN}-doc-${PV}.tar.gz |
|
13 |
mirror://nongnu/${PN}/${PN}-doc-${PV}.pdf |
|
14 |
mirror://nongnu/${PN}/${PN}-doc-${MY_DOC_PV}.tar.gz |
|
15 |
mirror://nongnu/${PN}/${PN}-doc-${MY_DOC_PV}.pdf |
|
14 | 16 |
)" |
15 | 17 | |
16 | 18 |
LICENSE="GPL-2" |
17 | 19 |
SLOT="0" |
18 |
KEYWORDS="amd64 arm ppc ppc64 x86" |
|
20 |
KEYWORDS="" |
|
19 | 21 |
IUSE="doc ftdi ncurses readline" |
20 | 22 | |
21 | 23 |
RDEPEND="virtual/libusb:1 |
... | ... | |
27 | 29 | |
28 | 30 |
DOCS="AUTHORS ChangeLog* NEWS README" |
29 | 31 | |
32 |
src_unpack() { |
|
33 |
default |
|
34 |
subversion_src_unpack |
|
35 |
} |
|
36 | ||
30 | 37 |
src_prepare() { |
31 | 38 |
default |
32 | 39 | |
33 | 40 |
# let the build system re-generate these, bug #120194 |
34 | 41 |
rm -f lexer.c config_gram.c config_gram.h || die |
42 | ||
43 |
eautoreconf |
|
35 | 44 |
} |
36 | 45 | |
37 | 46 |
src_configure() { |
... | ... | |
54 | 63 |
default |
55 | 64 | |
56 | 65 |
if use doc ; then |
57 |
newdoc "${DISTDIR}/${PN}-doc-${PV}.pdf" avrdude.pdf |
|
66 |
newdoc "${DISTDIR}/${PN}-doc-${MY_DOC_PV}.pdf" avrdude.pdf |
|
58 | 67 |
dodoc -r "${WORKDIR}/avrdude-html/" |
68 | ||
69 |
dodoc -r atmel-docs |
|
59 | 70 |
fi |
60 | 71 |
} |