summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-12-30 12:17:20 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-12-30 12:17:20 +0000
commit044898fab79b4aa9eb28d39813a470dd5089c4a0 (patch)
tree5a77ea6d88aa67bbb600d0ef21272ebe762f3a12 /dev-embedded/avr-libc
parentMigrating to perl-core (diff)
downloadgentoo-2-044898fab79b4aa9eb28d39813a470dd5089c4a0.tar.gz
gentoo-2-044898fab79b4aa9eb28d39813a470dd5089c4a0.tar.bz2
gentoo-2-044898fab79b4aa9eb28d39813a470dd5089c4a0.zip
Version bump.
(Portage version: 2.0.53)
Diffstat (limited to 'dev-embedded/avr-libc')
-rw-r--r--dev-embedded/avr-libc/ChangeLog8
-rw-r--r--dev-embedded/avr-libc/Manifest4
-rw-r--r--dev-embedded/avr-libc/avr-libc-1.4.1.ebuild61
-rw-r--r--dev-embedded/avr-libc/files/digest-avr-libc-1.4.13
4 files changed, 74 insertions, 2 deletions
diff --git a/dev-embedded/avr-libc/ChangeLog b/dev-embedded/avr-libc/ChangeLog
index cc7d87383b98..0a7d37ab84ec 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-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.23 2005/12/30 11:52:58 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.24 2005/12/30 12:17:20 brix Exp $
+
+*avr-libc-1.4.1 (30 Dec 2005)
+
+ 30 Dec 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +avr-libc-1.4.1.ebuild:
+ Version bump.
30 Dec 2005; Henrik Brix Andersen <brix@gentoo.org> avr-libc-1.4.0.ebuild:
Stable on x86.
diff --git a/dev-embedded/avr-libc/Manifest b/dev-embedded/avr-libc/Manifest
index 59bfdbfb5e57..d38d89a8ceab 100644
--- a/dev-embedded/avr-libc/Manifest
+++ b/dev-embedded/avr-libc/Manifest
@@ -1,9 +1,11 @@
-MD5 89700ee176a9819fb1c08ab3c4b674ef ChangeLog 3240
+MD5 3e09af26f852969a12c6dd56abebc19d ChangeLog 3368
MD5 684d65cd599bfad55f80355cc44442d2 avr-libc-1.2.5-r1.ebuild 1613
MD5 75917fe553149f57f44d6ed261720524 avr-libc-1.2.6.ebuild 1586
MD5 c1cba55bddc19ea9bbea71911518bf1f avr-libc-1.4.0.ebuild 1772
+MD5 f9bf1d546f9e2a1ba29bdc450425ec92 avr-libc-1.4.1.ebuild 1515
MD5 a171e49ae4824538fe554c27b30d5fd0 files/avr-libc-macros.patch 497
MD5 f7663133f4544fe22f702b8bce716c3e files/digest-avr-libc-1.2.5-r1 221
MD5 bf1b64eea4438227594018854bae3599 files/digest-avr-libc-1.2.6 221
MD5 2ae780655a7b47c93be07baff58b0bc0 files/digest-avr-libc-1.4.0 221
+MD5 1b46d4f3da207d0e935b2caaed4e6ccb files/digest-avr-libc-1.4.1 221
MD5 344ed7ef46ebb29e928c6f475d8daca0 metadata.xml 585
diff --git a/dev-embedded/avr-libc/avr-libc-1.4.1.ebuild b/dev-embedded/avr-libc/avr-libc-1.4.1.ebuild
new file mode 100644
index 000000000000..ce6586b04b18
--- /dev/null
+++ b/dev-embedded/avr-libc/avr-libc-1.4.1.ebuild
@@ -0,0 +1,61 @@
+# 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.4.1.ebuild,v 1.1 2005/12/30 12:17:20 brix Exp $
+
+inherit eutils 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=""
+
+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() {
+ 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.1 b/dev-embedded/avr-libc/files/digest-avr-libc-1.4.1
new file mode 100644
index 000000000000..21bf3ed90c44
--- /dev/null
+++ b/dev-embedded/avr-libc/files/digest-avr-libc-1.4.1
@@ -0,0 +1,3 @@
+MD5 970244f82015f75a51e8f05749ef05ec avr-libc-1.4.1.tar.bz2 770520
+MD5 f53defc01e251ab893efe49dcc3cac68 avr-libc-manpages-1.4.1.tar.bz2 97608
+MD5 8954b5207cc009a804484fac91bb4f1c avr-libc-user-manual-1.4.1.tar.bz2 417945