diff options
author | Gustavo Zacarias <gustavoz@gentoo.org> | 2006-10-11 22:13:28 +0000 |
---|---|---|
committer | Gustavo Zacarias <gustavoz@gentoo.org> | 2006-10-11 22:13:28 +0000 |
commit | 12de89ed41c1025510bd2baf45f326cdfc57711f (patch) | |
tree | 68902a44e44877cda60f88b2f369221f4fc8528a /dev-embedded/avr-libc | |
parent | Version bump (diff) | |
download | gentoo-2-12de89ed41c1025510bd2baf45f326cdfc57711f.tar.gz gentoo-2-12de89ed41c1025510bd2baf45f326cdfc57711f.tar.bz2 gentoo-2-12de89ed41c1025510bd2baf45f326cdfc57711f.zip |
Revbump and cleanup
(Portage version: 2.1.1)
Diffstat (limited to 'dev-embedded/avr-libc')
-rw-r--r-- | dev-embedded/avr-libc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-embedded/avr-libc/avr-libc-1.2.6.ebuild | 6 | ||||
-rw-r--r-- | dev-embedded/avr-libc/avr-libc-1.4.5.ebuild | 72 | ||||
-rw-r--r-- | dev-embedded/avr-libc/files/digest-avr-libc-1.4.5 | 9 |
4 files changed, 91 insertions, 4 deletions
diff --git a/dev-embedded/avr-libc/ChangeLog b/dev-embedded/avr-libc/ChangeLog index 3b0e606148e3..1f6d3fe5aaf3 100644 --- a/dev-embedded/avr-libc/ChangeLog +++ b/dev-embedded/avr-libc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-embedded/avr-libc # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.37 2006/09/18 08:21:05 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.38 2006/10/11 22:13:28 gustavoz Exp $ + +*avr-libc-1.4.5 (11 Oct 2006) + + 11 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> + -avr-libc-1.2.5-r1.ebuild, avr-libc-1.2.6.ebuild, +avr-libc-1.4.5.ebuild: + Revbump and cleanup 18 Sep 2006; Mike Frysinger <vapier@gentoo.org> avr-libc-1.4.4.ebuild: Fix stripping of binaries #144645 by Johannes Bauer. diff --git a/dev-embedded/avr-libc/avr-libc-1.2.6.ebuild b/dev-embedded/avr-libc/avr-libc-1.2.6.ebuild index 7429450d6bd2..3634a08b6ca1 100644 --- a/dev-embedded/avr-libc/avr-libc-1.2.6.ebuild +++ b/dev-embedded/avr-libc/avr-libc-1.2.6.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 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.2.6.ebuild,v 1.5 2005/12/18 17:09:33 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.2.6.ebuild,v 1.6 2006/10/11 22:13:28 gustavoz Exp $ inherit eutils flag-o-matic @@ -12,7 +12,7 @@ SRC_URI="http://savannah.nongnu.org/download/avr-libc/${P}.tar.bz2 LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ppc64 x86" +KEYWORDS="amd64 ~ppc ppc64 x86" IUSE="doc nls" DEPEND=">=sys-devel/crossdev-0.9.1" diff --git a/dev-embedded/avr-libc/avr-libc-1.4.5.ebuild b/dev-embedded/avr-libc/avr-libc-1.4.5.ebuild new file mode 100644 index 000000000000..88e7b2906dac --- /dev/null +++ b/dev-embedded/avr-libc/avr-libc-1.4.5.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2006 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.4.5.ebuild,v 1.1 2006/10/11 22:13:28 gustavoz Exp $ + +CHOST="avr" +CTARGET="avr" + +inherit flag-o-matic + +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-${PV}.tar.bz2 + doc? ( http://savannah.nongnu.org/download/avr-libc/${PN}-user-manual-${PV}.tar.bz2 )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="doc nls" + +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 \ + $(use_enable nls) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + cd "${S}"/obj-avr + make 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-${PV}/* +} diff --git a/dev-embedded/avr-libc/files/digest-avr-libc-1.4.5 b/dev-embedded/avr-libc/files/digest-avr-libc-1.4.5 new file mode 100644 index 000000000000..4a64f8a7be13 --- /dev/null +++ b/dev-embedded/avr-libc/files/digest-avr-libc-1.4.5 @@ -0,0 +1,9 @@ +MD5 4ff3b350e1cefc995dae0b6266c16f46 avr-libc-1.4.5.tar.bz2 863599 +RMD160 9ef2e81dffe74fe3614840d704cc352a351cb35a avr-libc-1.4.5.tar.bz2 863599 +SHA256 14a0ecccdcc6c2689bbc2bc489ba9ceaa7ab3a49a8b4e96e00de6ba3f7d81115 avr-libc-1.4.5.tar.bz2 863599 +MD5 f439e21de8a9704f46f32e3da70b8264 avr-libc-manpages-1.4.5.tar.bz2 102540 +RMD160 f4255e3249feb40b077cc0c5cae923c4f1db1ffd avr-libc-manpages-1.4.5.tar.bz2 102540 +SHA256 c3f159c9118bd1e3d59979b627ae741ac9667733cd28eabecec693b4638a8d44 avr-libc-manpages-1.4.5.tar.bz2 102540 +MD5 584aecb290da445e8c5491be54258b35 avr-libc-user-manual-1.4.5.tar.bz2 499278 +RMD160 e208d10d465c42645c64a8d4eff0f8d35a0159d6 avr-libc-user-manual-1.4.5.tar.bz2 499278 +SHA256 3d9b5c90746a4cab81b00e2573300bd393cd03de5279f26aa34eff600cd9f518 avr-libc-user-manual-1.4.5.tar.bz2 499278 |