diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2004-03-15 02:18:57 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2004-03-15 02:18:57 +0000 |
commit | 91e9c708ac20d2f525ef0dbc56f8a8729ab473c3 (patch) | |
tree | 67c56523bf4696164310c9fbe3fb03df9ee5610e /dev-embedded/avr-gcc | |
parent | fix for (gcc-3 related?) build problem (Manifest recommit) (diff) | |
download | gentoo-2-91e9c708ac20d2f525ef0dbc56f8a8729ab473c3.tar.gz gentoo-2-91e9c708ac20d2f525ef0dbc56f8a8729ab473c3.tar.bz2 gentoo-2-91e9c708ac20d2f525ef0dbc56f8a8729ab473c3.zip |
some SERIOUS f'ing cleanup on this ebuild
Diffstat (limited to 'dev-embedded/avr-gcc')
-rw-r--r-- | dev-embedded/avr-gcc/ChangeLog | 5 | ||||
-rw-r--r-- | dev-embedded/avr-gcc/avr-gcc-3.3-r1.ebuild | 52 |
2 files changed, 15 insertions, 42 deletions
diff --git a/dev-embedded/avr-gcc/ChangeLog b/dev-embedded/avr-gcc/ChangeLog index c10e5f99abb1..9cfe4c7f7f02 100644 --- a/dev-embedded/avr-gcc/ChangeLog +++ b/dev-embedded/avr-gcc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-embedded/avr-gcc # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-gcc/ChangeLog,v 1.2 2004/03/07 19:28:07 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-gcc/ChangeLog,v 1.3 2004/03/15 02:16:10 seemant Exp $ + + 14 Mar 2004; Seemant Kulleen <seemant@gentoo.org> avr-gcc-3.3-r1.ebuild: + some SERIOUS f'ing cleanup on this ebuild 07 Mar 2004; Alexander Gabert <pappy@gentoo.org> avr-gcc-3.3-r1.ebuild: removed leading and trailing whitespaces diff --git a/dev-embedded/avr-gcc/avr-gcc-3.3-r1.ebuild b/dev-embedded/avr-gcc/avr-gcc-3.3-r1.ebuild index 2cccbd859321..fa73044922cf 100644 --- a/dev-embedded/avr-gcc/avr-gcc-3.3-r1.ebuild +++ b/dev-embedded/avr-gcc/avr-gcc-3.3-r1.ebuild @@ -1,59 +1,29 @@ # 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-gcc/avr-gcc-3.3-r1.ebuild,v 1.2 2004/03/07 19:28:07 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-gcc/avr-gcc-3.3-r1.ebuild,v 1.3 2004/03/15 02:16:10 seemant Exp $ -DESCRIPTION="The GNU C compiler for the AVR microcontroller architecture" - -# Homepage, not used by Portage directly but handy for developer reference +IUSE="" +MY_P=${P/avr-/} +DESCRIPTION="The GNU C compiler for the AVR microcontroller architecture" HOMEPAGE="http://sources.redhat.com/binutils" - - -S="${WORKDIR}/gcc-3.3" - -A="gcc-3.3.tar.bz2" - -SRC_URI="http://ftp.gnu.org/gnu/gcc/${A}" - -LICENSE="GPL-2" +SRC_URI="http://ftp.gnu.org/gnu/gcc/${MY_P}.tar.bz2" SLOT="0" - +LICENSE="GPL-2" 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 dev-embedded/avr-binutils" -# Run-time dependencies, same as DEPEND if RDEPEND isn't defined: -#RDEPEND="" +DEPEND="virtual/glibc + dev-embedded/avr-binutils" src_compile() { - pwd - ./configure \ - --host=${CHOST} \ + econf \ --target=avr \ - --prefix=${INSTALLDIR} \ - --enable-languages=c \ - --infodir=${INFODIR} \ - --mandir=${MANDIR} || die "./configure failed" + --enable-languages=c || die emake || die } src_install() { - make prefix=${D}${INSTALLDIR} \ - mandir=${D}${MANDIR} \ - infodir=${D}${INFODIR} \ - install || die + einstall || die } |