|
|
# Distributed under the terms of the GNU General Public License v2 | # 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.3 2005/05/25 10:20:55 corsair Exp $ | # $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.2.3.ebuild,v 1.3 2005/05/25 10:20:55 corsair Exp $ |
| |
|
inherit eutils |
|
|
DESCRIPTION="Libc for the AVR microcontroller architecture" | DESCRIPTION="Libc for the AVR microcontroller architecture" |
HOMEPAGE="http://www.nongnu.org/avr-libc/" | HOMEPAGE="http://www.nongnu.org/avr-libc/" |
SRC_URI="http://savannah.nongnu.org/download/avr-libc/${P}.tar.bz2" | SRC_URI="http://savannah.nongnu.org/download/avr-libc/${P}.tar.bz2" |
|
|
&& RDEPEND="!dev-embedded/avr-libc" \ | && RDEPEND="!dev-embedded/avr-libc" \ |
|| RDEPEND="" | || RDEPEND="" |
| |
|
src_unpack() { |
|
unpack ${A} |
|
epatch ${FILESDIR}/${PN}-macros.patch |
|
} |
|
|
src_compile() { | src_compile() { |
mkdir obj-avr | mkdir obj-avr |
cd obj-avr | cd obj-avr |