7 Group: Development/Tools
8 Source0: http://www.amelek.gda.pl/libc/avr-libc-%{version}.tar.gz
9 BuildPrereq: crossavr-binutils, crossavr-gcc
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define arch %{_prefix}/%{target}
16 Contains the standard C library for Atmel AVR microcontrollers.
19 Pakiet zawiera standardow± bibliotekê C dla mikrokontrolerów Atmel AVR.
22 %setup -q -n avr-libc-%{version}
25 CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
26 CONFIG_SHELL="/bin/bash" \
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_prefix}
37 prefix=$RPM_BUILD_ROOT%{_prefix}
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
50 %{arch}/lib/avr?/*.[oa]