diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-embedded/avrdude |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-embedded/avrdude')
-rw-r--r-- | dev-embedded/avrdude/Manifest | 8 | ||||
-rw-r--r-- | dev-embedded/avrdude/avrdude-6.3.ebuild | 60 | ||||
-rw-r--r-- | dev-embedded/avrdude/avrdude-9999.ebuild | 71 | ||||
-rw-r--r-- | dev-embedded/avrdude/metadata.xml | 11 |
4 files changed, 150 insertions, 0 deletions
diff --git a/dev-embedded/avrdude/Manifest b/dev-embedded/avrdude/Manifest new file mode 100644 index 000000000000..4b714a66627c --- /dev/null +++ b/dev-embedded/avrdude/Manifest @@ -0,0 +1,8 @@ +DIST avrdude-6.3.tar.gz 909744 SHA256 0f9f731b6394ca7795b88359689a7fa1fba818c6e1d962513eb28da670e0a196 SHA512 b671008388d6a552e71066fec46429bc7f6639e8eac41113bcbba5a56212b78be31fcf04956b31e11c6b14888b0f6e825f7458395b9ff4fc28406074c7ded2b2 WHIRLPOOL a5fbbd5ca348b52988d8a724ba5a5a2691812a57978a0fb05d21c4f392fe172c0253c934dba01c00f91091a7f22dc426a793098d2228c74d5a38f44dc5aba276 +DIST avrdude-doc-6.3.pdf 255521 SHA256 f3e7cc7557a111c181f3f04d2dab075e8341d78d7e7f8914b578198d18daca2f SHA512 f33b15f6a9247f6646ba8a861f1e86f5d43b1b44438fb95bd53764a73f0c450f669dcb43b6b587390ddbc22dafa02758ddc330a7aab1651ccca7c8da8e00b755 WHIRLPOOL b96fc0c1f24aeda248629b51516b024c66a3a4cb2ab177bdb56f2d3f01dadf4642c958eb7153f44e507404a1503ae84e0571eade5bc428bcc095fba51ff29a55 +DIST avrdude-doc-6.3.tar.gz 39823 SHA256 047a8a37b09f683582d7a0418417cd3020859d4705dd7e00f048e733903cdf3e SHA512 b7abd9d0068d2933a1907655832930c455093b4ffbdc2b6fb2405a821cad0ba1c4de3aa5fa0ea7c9b53d06cfa6d5b5658d30a18a4f5c3884d0e15c171a097b29 WHIRLPOOL 2baa84196635154916d06b5fbce93a4f4dc4f9bf4ce5cc28f82363aa9e59f9d6fb4b55bf6a6ea4ef25afb49119367bf9637f022639fe1b84e82932750156b2f4 +EBUILD avrdude-6.3.ebuild 1447 SHA256 78d19c0bc57ed9fce787e29d8ff6b295b469c149d76bd0e361ec28884b352790 SHA512 8fd1981079062fa9957824c0e0febda16b10f5bb3bd17c9201481166d868e3c7ac5350f0311564f121a8dc4b2b71f45bc664562c2fed6e190730b08c0dd4d3f8 WHIRLPOOL 0ff83667b496d5fff188d07c071d0223a9534ef9230bae54232e9891b19eacb777b33fb0b1cb6e36615bf81238744824abd7e4035712efe4947d2d61174eb971 +EBUILD avrdude-9999.ebuild 1602 SHA256 e0b1316a595211dcf755a353912dde636f73b6bfeaa5456ab575dc5a81983dcd SHA512 955868059d4ff1ceaa8fdf57b6128e48928f75cf6af869fdabd5d0b6bb67cb86282b4a42953fbea16cb073074011459bdaa067eeca96340b2e79ba446ecf8dcf WHIRLPOOL 65cdfbb96dde22e433aa1fdf19b50a40f440a55f5428387275d647afbede6bd3267132281320d3d212e88d323975fc01cfea8988792a34f303e58ad287b11fbd +MISC ChangeLog 4278 SHA256 564f98482945723caeae1032c22f25dbdad0b358edd884d189550d4882efd728 SHA512 6a053c126955ac9c81c112ee46e3c320e897c50dd39d3d7c70d63a166cb7a623dc85a234c57abc9e25e1b59d40ca92c9e3071d284ee32517ba14e18cb05bca8a WHIRLPOOL ede9734d2944c11cafb5b02e2114b2739a09908f964573df06e1d063393b9aa646555bee4bea44be746b28c58b62cdba363bcd61ae873347d99a0a785aed7535 +MISC ChangeLog-2015 8152 SHA256 7e26173538e7f5dcff53d5d9446a313f2f11cd36b9327dc7c3cce23a9c5e2a44 SHA512 62038b6b697ff31b6dac851485ed4f0297ad3bd46116f320938f9416e2fa5aa83686fb1208481b837099012eb70bdc0b6f57b5ac7783219ade2e17bd48223e37 WHIRLPOOL 6af9eea5eeac9f3557dc65298a524b18d2cec8f66ed830f1639c43febe1f126efc65bf4bd6a9a7f8e376d30b539a69234cbe25bb4458cd6af1afb63ac0276778 +MISC metadata.xml 363 SHA256 0cf105a0a578a4124e335fa4d18d16bfbf80323672d53ed8d3b3a6431d33f2bf SHA512 db0dcf46afc6e800dfff22c7d25489a4e34e92589229c4246f843b6369a81d10aba4d206a2325547ba5821d0a0ee732a8c6f3ae0c61e6818f1c23315676322fc WHIRLPOOL 9b344ddd657bc16ceae18fbb6a661b225d2ef0d546e37dc18f95f6607a7a8965788330d02cc7a595604d63030df840fa887db72a3e7f27b8edf9c7e872e9b624 diff --git a/dev-embedded/avrdude/avrdude-6.3.ebuild b/dev-embedded/avrdude/avrdude-6.3.ebuild new file mode 100644 index 000000000000..8038f454685b --- /dev/null +++ b/dev-embedded/avrdude/avrdude-6.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="AVR Downloader/UploaDEr" +HOMEPAGE="https://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 + virtual/libusb:0 + ftdi? ( dev-embedded/libftdi:= ) + ncurses? ( sys-libs/ncurses:0= ) + readline? ( sys-libs/readline:0= )" +DEPEND="${RDEPEND}" + +DOCS="AUTHORS ChangeLog* NEWS README" + +src_prepare() { + default + + # let the build system re-generate these, bug #120194 + rm -f lexer.c config_gram.c config_gram.h || die +} + +src_configure() { + # somehow this doesnt get set when cross-compiling and breaks build + tc-export AR + 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 + dodoc -r "${WORKDIR}/avrdude-html/" + fi +} diff --git a/dev-embedded/avrdude/avrdude-9999.ebuild b/dev-embedded/avrdude/avrdude-9999.ebuild new file mode 100644 index 000000000000..f483079be8f7 --- /dev/null +++ b/dev-embedded/avrdude/avrdude-9999.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools subversion toolchain-funcs + +DESCRIPTION="AVR Downloader/UploaDEr" +HOMEPAGE="https://savannah.nongnu.org/projects/avrdude" +ESVN_REPO_URI="svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude" +MY_DOC_PV=6.3 +SRC_URI=" + doc? ( + mirror://nongnu/${PN}/${PN}-doc-${MY_DOC_PV}.tar.gz + mirror://nongnu/${PN}/${PN}-doc-${MY_DOC_PV}.pdf + )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="doc ftdi ncurses readline" + +RDEPEND="virtual/libusb:1 + virtual/libusb:0 + ftdi? ( dev-embedded/libftdi:= ) + ncurses? ( sys-libs/ncurses:0= ) + readline? ( sys-libs/readline:0= )" +DEPEND="${RDEPEND}" + +DOCS="AUTHORS ChangeLog* NEWS README" + +src_unpack() { + default + subversion_src_unpack +} + +src_prepare() { + default + + # let the build system re-generate these, bug #120194 + rm -f lexer.c config_gram.c config_gram.h || die + + eautoreconf +} + +src_configure() { + # somehow this doesnt get set when cross-compiling and breaks build + tc-export AR + 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-${MY_DOC_PV}.pdf" avrdude.pdf + dodoc -r "${WORKDIR}/avrdude-html/" + + dodoc -r atmel-docs + fi +} diff --git a/dev-embedded/avrdude/metadata.xml b/dev-embedded/avrdude/metadata.xml new file mode 100644 index 000000000000..499cad808fd7 --- /dev/null +++ b/dev-embedded/avrdude/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>embedded@gentoo.org</email> + <name>Embedded Gentoo</name> + </maintainer> + <use> + <flag name="ftdi">Enable support for USB FTDI chips via <pkg>dev-embedded/libftdi</pkg></flag> + </use> +</pkgmetadata> |