diff options
-rw-r--r-- | dev-embedded/avr-libc/ChangeLog | 9 | ||||
-rw-r--r-- | dev-embedded/avr-libc/Manifest | 14 | ||||
-rw-r--r-- | dev-embedded/avr-libc/avr-libc-1.6.8.ebuild | 73 |
3 files changed, 83 insertions, 13 deletions
diff --git a/dev-embedded/avr-libc/ChangeLog b/dev-embedded/avr-libc/ChangeLog index 65f1afde2b89..2f4d89a38280 100644 --- a/dev-embedded/avr-libc/ChangeLog +++ b/dev-embedded/avr-libc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-embedded/avr-libc -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.44 2009/02/15 23:40:43 vapier Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.45 2010/03/18 01:57:12 solar Exp $ + +*avr-libc-1.6.8 (18 Mar 2010) + + 18 Mar 2010; <solar@gentoo.org> +avr-libc-1.6.8.ebuild: + Version bump 15 Feb 2009; Mike Frysinger <vapier@gentoo.org> -files/avr-libc-macros.patch, -avr-libc-1.2.6.ebuild, diff --git a/dev-embedded/avr-libc/Manifest b/dev-embedded/avr-libc/Manifest index c5baf1bb6adc..9465cbf472e4 100644 --- a/dev-embedded/avr-libc/Manifest +++ b/dev-embedded/avr-libc/Manifest @@ -1,18 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST avr-libc-1.6.2.tar.bz2 1044977 RMD160 789366fcc9f40e2f6b666914e3c51aca3480daa7 SHA1 14dbf6b8b91df0a2dd30bfeef6d1d9150e7cd1e5 SHA256 b70112efb9e66def5789ea9cfaad8d050a6af284b2f503fc81b479cec15cbbd7 DIST avr-libc-1.6.4.tar.bz2 1137818 RMD160 2efe8818fa82b56205f9171ce10d56107fe98104 SHA1 02de79dd778f83e777ad0f69cf1d3a2e7bbea7c6 SHA256 965fbe12bc882836c419f8c5c7b8261b04c7bbb463ad9fd0899c8165eed5477c +DIST avr-libc-1.6.8.tar.bz2 1345899 RMD160 afbcbecdd32b554c51d709fcfd5aeb35e4f25e9f SHA1 7536f36f20fc2768976c9b97c1e35b54300911d7 SHA256 9c35ff8569703786a9b919e9a6e3a703e9977223853691b17d8333242a9bc12b DIST avr-libc-manpages-1.6.2.tar.bz2 133249 RMD160 a12ad79c92197d3aff90ea031089b2940d9d6742 SHA1 540b6c4a7debab55ff55fc328c704922d7d8c575 SHA256 1c2ab29c62e308ebbb906691d0197f4b3f45fb03439c6ed674babb171104943f DIST avr-libc-user-manual-1.6.2.tar.bz2 511408 RMD160 d3f900c2458416f5bfc1540afda58766c99a2e78 SHA1 7d5c72ea30246bd8091d3219605e1a4482684de1 SHA256 cc02a2a1a69870add0a69178e06f6ee1c972f139d39826aefbc0ed46febde4ee EBUILD avr-libc-1.6.2.ebuild 1839 RMD160 9f56f7b89a1859d84bdbb9ab31c457dce4f35aba SHA1 37fe3c5c2cfb705cdcfb072eef1ba14c4de4b401 SHA256 7bf3e9ac1ba2753fc1510904520b224b57723bc97476dcd98b7bc073464e8336 EBUILD avr-libc-1.6.4.ebuild 1844 RMD160 815d0c2a4bf15530bfb4a6525bef79a0acad0a0a SHA1 cb1392790b2f3d245aea361eee0c02cb1d0ce910 SHA256 b2e92f1b37145a40d3380af61e51816ec1c21fdd7ba7d87599842d9a1467a271 -MISC ChangeLog 5998 RMD160 85199347f7f43b67187d689957be035d9f681ed2 SHA1 a91c666439b2b04fae6e93d787bf040dbab86e50 SHA256 1e3a523bcff43739fc74d024de5865d443a3a7ce6fc87fd9e5af39c9ebcea8ec +EBUILD avr-libc-1.6.8.ebuild 1817 RMD160 777841d323b0be348208a9f080533830fdb2fb81 SHA1 ba66faacf1bebdbc474668c268bfc69747c59d36 SHA256 4b5ca13fbb53fc71fa8c3c47b7a225bf09fb498ed4ebccfbdabb1cc2392f6aed +MISC ChangeLog 6102 RMD160 d3d81dda29174d80bc7fb1a8fce42e6ab4d29cc8 SHA1 6543f8a68c858068beeddd2d71ca51b1f37b36d1 SHA256 ad63194018cb6658cb2ed0d9fcd2c26de816e12913ecb2fe2950827af2bdc0c2 MISC metadata.xml 482 RMD160 c53fed9a10b4df96430e648daa79a21c3d222456 SHA1 729896808dfeabdfe232cd887fedf3dc3bfd6d60 SHA256 ed0bc041670efcdfbc9329f9304db9a00410c9b65e84a5a88a394ff46c007f2f ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkmYqAEACgkQn/5bYzqsSmEgmgCfQcav42GLW98NBFrNwBmyGf67 -HnEAn3XeEuLWaihlAurleBZ8e4MfmLYu -=qWh/ ------END PGP SIGNATURE----- diff --git a/dev-embedded/avr-libc/avr-libc-1.6.8.ebuild b/dev-embedded/avr-libc/avr-libc-1.6.8.ebuild new file mode 100644 index 000000000000..73347aab8ec8 --- /dev/null +++ b/dev-embedded/avr-libc/avr-libc-1.6.8.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.6.8.ebuild,v 1.1 2010/03/18 01:57:12 solar Exp $ + +CHOST="avr" +CTARGET="avr" + +inherit flag-o-matic + +DOCS_PV="1.6.2" + +DESCRIPTION="C library for Atmel AVR microcontrollers" +HOMEPAGE="http://www.nongnu.org/avr-libc/" +SRC_URI="http://savannah.nongnu.org/download/avr-libc/${P}.tar.bz2 + http://savannah.nongnu.org/download/avr-libc/${PN}-manpages-${DOCS_PV}.tar.bz2 + doc? ( http://savannah.nongnu.org/download/avr-libc/${PN}-user-manual-${DOCS_PV}.tar.bz2 )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="doc crosscompile_opts_headers-only" + +DEPEND=">=sys-devel/crossdev-0.9.1" +[[ ${CATEGORY/cross-} != ${CATEGORY} ]] \ + && RDEPEND="!dev-embedded/avr-libc" \ + || RDEPEND="" + +pkg_setup() { + # check for avr-gcc, bug #134738 + ebegin "Checking for avr-gcc" + if type -p avr-gcc > /dev/null ; then + eend 0 + else + eend 1 + + eerror + eerror "Failed to locate 'avr-gcc' in \$PATH. You can install an AVR toolchain using:" + eerror " $ crossdev -t avr" + eerror + die "AVR toolchain not found" + fi +} + +src_compile() { + strip-flags + strip-unsupported-flags + + mkdir obj-avr + cd "${S}"/obj-avr + + ECONF_SOURCE="${S}" \ + econf \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + cd "${S}"/obj-avr + emake DESTDIR="${D}" install || die "make install failed" + + cd "${S}" + dodoc AUTHORS ChangeLog* NEWS README + + # man pages can not go into standard locations + # as they would then overwrite libc man pages + dosed "s:\$(VERSION):${PVR}:" /usr/bin/avr-man + insinto /usr/share/doc/${PF}/man/man3 + doins "${WORKDIR}"/man/man3/* + prepman /usr/share/doc/${PF} + + use doc && dohtml "${WORKDIR}"/${PN}-user-manual-${DOCS_PV}/* +} |