diff options
Diffstat (limited to 'dev-embedded/avr-binutils/avr-binutils-2.14.ebuild')
-rw-r--r-- | dev-embedded/avr-binutils/avr-binutils-2.14.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dev-embedded/avr-binutils/avr-binutils-2.14.ebuild b/dev-embedded/avr-binutils/avr-binutils-2.14.ebuild new file mode 100644 index 000000000000..092a36ee27f2 --- /dev/null +++ b/dev-embedded/avr-binutils/avr-binutils-2.14.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-binutils/avr-binutils-2.14.ebuild,v 1.1 2004/03/07 19:23:27 pappy Exp $ + +DESCRIPTION="The GNU binutils for the AVR microcontroller architecture" + +# Homepage, not used by Portage directly but handy for developer reference + +HOMEPAGE="http://sources.redhat.com/binutils" + + +S="${WORKDIR}/binutils-2.14" + +A="binutils-2.14.tar.bz2" + +SRC_URI="http://ftp.gnu.org/gnu/binutils/${A}" + +LICENSE="GPL-2" + +SLOT="0" + +KEYWORDS="x86" +IUSE="" + +INSTALLDIR=/usr/ +MANDIR=/usr/share/man +INFODIR=/usr/share/info + +# Build-time dependencies, such as +# ssl? ( >=openssl-0.9.6b ) +# >=perl-5.6.1-r1 +# It is advisable to use the >= syntax show above, to reflect what you +# had installed on your system when you tested the package. Then +# other users hopefully won't be caught without the right version of +# a dependency. +DEPEND="virtual/glibc" + +# Run-time dependencies, same as DEPEND if RDEPEND isn't defined: +#RDEPEND="" + +src_compile() { + pwd + ./configure \ + --host=${CHOST} \ + --target=avr \ + --prefix=${INSTALLDIR} \ + --infodir=${INFODIR} \ + --mandir=${MANDIR} || die "./configure failed" + + emake || die +} + +src_install() { + make prefix=${D}${INSTALLDIR} \ + mandir=${D}${MANDIR} \ + infodir=${D}${INFODIR} \ + install || die +} |