summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-16 00:05:35 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-16 00:05:35 +0000
commit5c86b263ff85a2e54e7744086ec60757f08fcfec (patch)
treee176d6a5049c4d181c91ebddb6c129640f129d3e /dev-embedded/avr-libc/avr-libc-1.2.3.ebuild
parentFixed optimization logics for mips, hopefully solving bug #83633. Added gcc ... (diff)
downloadgentoo-2-5c86b263ff85a2e54e7744086ec60757f08fcfec.tar.gz
gentoo-2-5c86b263ff85a2e54e7744086ec60757f08fcfec.tar.bz2
gentoo-2-5c86b263ff85a2e54e7744086ec60757f08fcfec.zip
Version bump #85359 by Scott Price.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-embedded/avr-libc/avr-libc-1.2.3.ebuild')
-rw-r--r--dev-embedded/avr-libc/avr-libc-1.2.3.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-embedded/avr-libc/avr-libc-1.2.3.ebuild b/dev-embedded/avr-libc/avr-libc-1.2.3.ebuild
new file mode 100644
index 000000000000..a0116f8c4115
--- /dev/null
+++ b/dev-embedded/avr-libc/avr-libc-1.2.3.ebuild
@@ -0,0 +1,35 @@
+# 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.3.ebuild,v 1.1 2005/03/16 00:05:35 vapier Exp $
+
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+DEPEND="sys-devel/crossdev"
+RDEPEND=""
+
+src_compile() {
+ mkdir obj-avr
+ cd obj-avr
+ export CC=avr-gcc
+ export CFLAGS=""
+ ../configure \
+ --target=avr \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ $(use_enable nls) \
+ || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ cd obj-avr
+ emake DESTDIR="${D}" install || die
+}