summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-01-07 12:22:34 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-01-07 12:22:34 +0000
commit686fa86024b59160d14f010c10ea2abc5700c131 (patch)
tree6ee60d224f8828cae4e3c7b536bf8d3364f27d71 /dev-embedded/avr-libc
parentMarked ppc stable (diff)
downloadgentoo-2-686fa86024b59160d14f010c10ea2abc5700c131.tar.gz
gentoo-2-686fa86024b59160d14f010c10ea2abc5700c131.tar.bz2
gentoo-2-686fa86024b59160d14f010c10ea2abc5700c131.zip
Version bump.
(Portage version: 2.0.53)
Diffstat (limited to 'dev-embedded/avr-libc')
-rw-r--r--dev-embedded/avr-libc/ChangeLog10
-rw-r--r--dev-embedded/avr-libc/Manifest4
-rw-r--r--dev-embedded/avr-libc/avr-libc-1.4.2.ebuild61
-rw-r--r--dev-embedded/avr-libc/files/digest-avr-libc-1.4.23
4 files changed, 75 insertions, 3 deletions
diff --git a/dev-embedded/avr-libc/ChangeLog b/dev-embedded/avr-libc/ChangeLog
index d7556d0f84e8..86ad1d62a776 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.25 2005/12/31 15:48:40 corsair Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.26 2006/01/07 12:22:34 brix Exp $
+
+*avr-libc-1.4.2 (07 Jan 2006)
+
+ 07 Jan 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +avr-libc-1.4.2.ebuild:
+ Version bump.
31 Dec 2005; Markus Rothe <corsair@gentoo.org> avr-libc-1.4.0.ebuild:
Stable on ppc64
diff --git a/dev-embedded/avr-libc/Manifest b/dev-embedded/avr-libc/Manifest
index 00c1c03f7cbf..a1975fdae70a 100644
--- a/dev-embedded/avr-libc/Manifest
+++ b/dev-embedded/avr-libc/Manifest
@@ -1,11 +1,13 @@
-MD5 50366eea670ecf2c65e83fd23f2ce54f ChangeLog 3462
+MD5 0107d00b289166ce12cc82dd4b6a4b41 ChangeLog 3590
MD5 684d65cd599bfad55f80355cc44442d2 avr-libc-1.2.5-r1.ebuild 1613
MD5 75917fe553149f57f44d6ed261720524 avr-libc-1.2.6.ebuild 1586
MD5 b0236c41fcf7583e07224fbe55d39f18 avr-libc-1.4.0.ebuild 1774
MD5 c0584e804de40ba9d90f98ef84f9a01f avr-libc-1.4.1.ebuild 1618
+MD5 d39a99b3be6b50861197b0dd3a391859 avr-libc-1.4.2.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 026a97ce20217b3d8ca2288320fecff5 files/digest-avr-libc-1.4.2 221
MD5 344ed7ef46ebb29e928c6f475d8daca0 metadata.xml 585
diff --git a/dev-embedded/avr-libc/avr-libc-1.4.2.ebuild b/dev-embedded/avr-libc/avr-libc-1.4.2.ebuild
new file mode 100644
index 000000000000..47be002d8de9
--- /dev/null
+++ b/dev-embedded/avr-libc/avr-libc-1.4.2.ebuild
@@ -0,0 +1,61 @@
+# 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.2.ebuild,v 1.1 2006/01/07 12:22:34 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.2 b/dev-embedded/avr-libc/files/digest-avr-libc-1.4.2
new file mode 100644
index 000000000000..3de96cd8c0c3
--- /dev/null
+++ b/dev-embedded/avr-libc/files/digest-avr-libc-1.4.2
@@ -0,0 +1,3 @@
+MD5 d4cb171169cabda4889ba6f6a58f1fa8 avr-libc-1.4.2.tar.bz2 819835
+MD5 3837a83f7087280052d3207e2397c121 avr-libc-manpages-1.4.2.tar.bz2 98973
+MD5 7302c9cc8f315ab6b6ce1d1c57bd29bf avr-libc-user-manual-1.4.2.tar.bz2 466740