]> git.pld-linux.org Git - packages/crossavr-libc.git/blob - crossavr-libc.spec
- updated docs.
[packages/crossavr-libc.git] / crossavr-libc.spec
1 Summary:        AVR libc 
2 Summary(pl):    AVR libc
3 Name:           crossavr-libc
4 Version:        20020203
5 Release:        1
6 License:        Public Domain
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)
11
12 %define         target          avr
13 %define         arch            %{_prefix}/%{target}
14
15 %description
16 Contains the standard C library for Atmel AVR microcontrollers.
17
18 %description -l pl
19 Pakiet zawiera standardow± bibliotekê C dla mikrokontrolerów Atmel AVR.
20
21 %prep
22 %setup -q -n avr-libc-%{version}
23
24 %build
25 CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
26 CONFIG_SHELL="/bin/bash" \
27 PREFIX=%{arch}
28 ./doconf
29 ./domake
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_prefix}
34
35 cd build
36 %{__make} install \
37         prefix=$RPM_BUILD_ROOT%{_prefix}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc doc/*.html
45 %dir %{arch}/include
46 %{arch}/include/*.h
47 %dir %{arch}/lib
48 %{arch}/lib/*.[oa]
49 %dir %{arch}/lib/avr?
50 %{arch}/lib/avr?/*.[oa]
This page took 0.085896 seconds and 3 git commands to generate.