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
commitd92f7b4d0d106d7383159a1cb102f741d9a45455 (patch)
tree430508dae4180010f1b0e839ec31056293449d6d /dev-embedded
parentMigrating to perl-core (diff)
downloadhistorical-d92f7b4d0d106d7383159a1cb102f741d9a45455.tar.gz
historical-d92f7b4d0d106d7383159a1cb102f741d9a45455.tar.bz2
historical-d92f7b4d0d106d7383159a1cb102f741d9a45455.zip
Version bump.
Package-Manager: portage-2.0.53
Diffstat (limited to 'dev-embedded')
-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..4f174b9a8b87 100644
--- a/dev-embedded/avr-libc/Manifest
+++ b/dev-embedded/avr-libc/Manifest
@@ -1,9 +1,11 @@
-MD5 89700ee176a9819fb1c08ab3c4b674ef ChangeLog 3240
+MD5 9c03c02ad5b50b2712361ed1533de001 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 c0584e804de40ba9d90f98ef84f9a01f avr-libc-1.4.1.ebuild 1618
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