summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-03-15 02:18:57 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-03-15 02:18:57 +0000
commit91e9c708ac20d2f525ef0dbc56f8a8729ab473c3 (patch)
tree67c56523bf4696164310c9fbe3fb03df9ee5610e /dev-embedded/avr-libc
parentfix for (gcc-3 related?) build problem (Manifest recommit) (diff)
downloadgentoo-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-libc')
-rw-r--r--dev-embedded/avr-libc/ChangeLog5
-rw-r--r--dev-embedded/avr-libc/avr-libc-1.0.2-r1.ebuild50
2 files changed, 15 insertions, 40 deletions
diff --git a/dev-embedded/avr-libc/ChangeLog b/dev-embedded/avr-libc/ChangeLog
index a822be08136d..ad6af7935afe 100644
--- a/dev-embedded/avr-libc/ChangeLog
+++ b/dev-embedded/avr-libc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-embedded/avr-libc
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.1 2004/03/07 19:29:04 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.2 2004/03/15 02:18:57 seemant Exp $
+
+ 14 Mar 2004; Seemant Kulleen <seemant@gentoo.org> avr-libc-1.0.2-r1.ebuild:
+ some SERIOUS f'ing cleanup on this ebuild
*avr-libc-1.0.2-r1 (07 Mar 2004)
diff --git a/dev-embedded/avr-libc/avr-libc-1.0.2-r1.ebuild b/dev-embedded/avr-libc/avr-libc-1.0.2-r1.ebuild
index a7de5b034586..233fd66c1c6d 100644
--- a/dev-embedded/avr-libc/avr-libc-1.0.2-r1.ebuild
+++ b/dev-embedded/avr-libc/avr-libc-1.0.2-r1.ebuild
@@ -1,62 +1,34 @@
# 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-libc/avr-libc-1.0.2-r1.ebuild,v 1.1 2004/03/07 19:29:04 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.0.2-r1.ebuild,v 1.2 2004/03/15 02:18:57 seemant Exp $
-DESCRIPTION="Libc for the AVR microcontroller architecture"
-
-# Homepage, not used by Portage directly but handy for developer reference
+IUSE="nls"
+MY_P=${P/avr-/}
+DESCRIPTION="Libc for the AVR microcontroller architecture"
HOMEPAGE="http:////www.nongnu.org/avr-libc/"
+SRC_URI="http://savannah.nongnu.org/download/avr-libc/${MY_P}.tar.bz2"
-
-S="${WORKDIR}/avr-libc-1.0.2"
-
-A="avr-libc-1.0.2.tar.gz"
-
-SRC_URI="http://savannah.nongnu.org/download/avr-libc/${A}"
-
-LICENSE="GPL-2"
-
-CFLAGS=""
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="dev-embedded/avr-gcc"
-# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
-#RDEPEND=""
-
src_compile() {
mkdir obj-avr
cd obj-avr
- pwd
CC=avr-gcc CFLAGS="" ../configure \
--target=avr \
- --prefix=${INSTALLDIR} \
- --infodir=${INFODIR} \
- --mandir=${MANDIR} || die "./configure failed"
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ `use_enable nls` || die "./configure failed"
emake || die
}
src_install() {
cd obj-avr
- pwd
- make prefix=${D}${INSTALLDIR} \
- mandir=${D}${MANDIR} \
- infodir=${D}${INFODIR} \
- install || die
+ einstall || die
}