]> git.pld-linux.org Git - packages/crossavr-libc.git/blob - crossavr-libc.spec
- back to savannach url, don't strip
[packages/crossavr-libc.git] / crossavr-libc.spec
1 Summary:        AVR libc
2 Summary(pl):    libc na AVR
3 Name:           crossavr-libc
4 Version:        1.0.2
5 Release:        1
6 Epoch:          1
7 License:        Public Domain
8 Group:          Development/Tools
9 Source0:        http://savannah.nongnu.org/download/avr-libc/avr-libc-%{version}.tar.gz
10 # Source0-md5:  7ed0af0f978c0b62ee0e07d3af58eeee
11 URL:            http://www.nongnu.org/avr-libc/
12 BuildRequires:  crossavr-binutils
13 BuildRequires:  crossavr-gcc
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         target          avr
17 %define         arch            %{_prefix}/%{target}
18 %define         no_install_post_strip   1
19
20 %description
21 Contains the standard C library for Atmel AVR microcontrollers.
22
23 %description -l pl
24 Pakiet zawiera standardow± bibliotekê C dla mikrokontrolerów Atmel
25 AVR.
26
27 %prep
28 %setup -q -n avr-libc-%{version}
29
30 %build
31 CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
32 CONFIG_SHELL="/bin/bash" \
33 PREFIX=%{arch}
34 ./doconf
35 ./domake
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_prefix}
40
41 cd build
42 %{__make} install \
43         prefix=$RPM_BUILD_ROOT%{_prefix}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc doc/*.html
51 %dir %{arch}/include
52 %{arch}/include/*.h
53 %dir %{arch}/include/avr
54 %{arch}/include/avr/*.h
55 %dir %{arch}/lib
56 %{arch}/lib/*.[oa]
57 %dir %{arch}/lib/avr?
58 %{arch}/lib/avr?/*.[oa]
This page took 0.053262 seconds and 3 git commands to generate.