diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-13 04:08:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-13 04:08:12 +0000 |
commit | 90675771b6250dce8d1dfccba1d98c20805173df (patch) | |
tree | a02a7472c6f4e2e79b73f85dffb0a39f1f05208b /dev-embedded | |
parent | amd64 stable (diff) | |
download | gentoo-2-90675771b6250dce8d1dfccba1d98c20805173df.tar.gz gentoo-2-90675771b6250dce8d1dfccba1d98c20805173df.tar.bz2 gentoo-2-90675771b6250dce8d1dfccba1d98c20805173df.zip |
Version bump #112267 by Ludek Stepan.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/avr-libc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-embedded/avr-libc/avr-libc-1.2.6.ebuild | 60 | ||||
-rw-r--r-- | dev-embedded/avr-libc/files/digest-avr-libc-1.2.6 | 3 |
3 files changed, 69 insertions, 1 deletions
diff --git a/dev-embedded/avr-libc/ChangeLog b/dev-embedded/avr-libc/ChangeLog index 580aff393cbb..1972c9faec78 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-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.15 2005/10/22 10:39:37 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.16 2005/11/13 04:08:12 vapier Exp $ + +*avr-libc-1.2.6 (13 Nov 2005) + + 13 Nov 2005; Mike Frysinger <vapier@gentoo.org> +avr-libc-1.2.6.ebuild: + Version bump #112267 by Ludek Stepan. 22 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> -avr-libc-1.2.5.ebuild: diff --git a/dev-embedded/avr-libc/avr-libc-1.2.6.ebuild b/dev-embedded/avr-libc/avr-libc-1.2.6.ebuild new file mode 100644 index 000000000000..2ec190db709f --- /dev/null +++ b/dev-embedded/avr-libc/avr-libc-1.2.6.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 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.1 2005/11/13 04:08:12 vapier Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="Libc for the AVR microcontroller architecture" +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="GPL-2" +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="" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${PN}-macros.patch +} + +src_compile() { + export AS=avr-as AR=avr-ar RANLIB=avr-ranlib CC=avr-gcc ABI=retarded + + strip-flags + strip-unsupported-flags + + mkdir obj-avr + cd "${S}"/obj-avr + + ECONF_SOURCE="${S}" CHOST="avr" CTARGET="avr" econf \ + $(use_enable nls) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + dodoc AUTHORS ChangeLog* NEWS README + + cd "${S}"/obj-avr + make DESTDIR="${D}" install || die "make install failed" + + # 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}"/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.2.6 b/dev-embedded/avr-libc/files/digest-avr-libc-1.2.6 new file mode 100644 index 000000000000..6868cbfbb80f --- /dev/null +++ b/dev-embedded/avr-libc/files/digest-avr-libc-1.2.6 @@ -0,0 +1,3 @@ +MD5 481c280ae3e66f071bf4a74af3565539 avr-libc-1.2.6.tar.bz2 329321 +MD5 1ec7091540538919e1ada2841757dc3e avr-libc-manpages-1.2.6.tar.bz2 81465 +MD5 cfa1a9768488aa96b4a55dd6aeb6c62f avr-libc-user-manual-1.2.6.tar.bz2 112574 |