]>
Commit | Line | Data |
---|---|---|
8ba159e4 | 1 | # |
2 | %bcond_with bootstrap # Build only headers | |
3 | # | |
4 | # TODO: | |
5 | # - compile for m5307 | |
6 | # - add support for flat shared libraries (-mid-shared-library) | |
7 | # - make less ugly ? | |
8 | ||
9 | %define llh_version 2.4.31 | |
10 | ||
11 | Summary: C library optimized for size (m68k version) | |
12 | Summary(pl): Biblioteka C zoptymalizowana na rozmiar (dla m68k) | |
13 | Name: crossm68k-uClibc | |
14 | Version: 0.9.28 | |
15 | Release: 1 | |
16 | Epoch: 0 | |
17 | License: LGPL | |
18 | Group: Libraries | |
19 | Source0: http://www.uclibc.org/downloads/uClibc-%{version}.tar.bz2 | |
20 | # Source0-md5: 1ada58d919a82561061e4741fb6abd29 | |
21 | Source1: http://www.uclibc.org/downloads/toolchain/linux-libc-headers-%{llh_version}.tar.bz2 | |
22 | # Source1-md5: 997d36627baf6825c712431dee4d79d3 | |
23 | Source2: crossm68k-uClibc.config | |
24 | Patch0: %{name}-clone.patch | |
25 | URL: http://www.uclibc.org/ | |
26 | %{?!with_bootstrap:BuildRequires: crossm68k-gcc} | |
27 | BuildRequires: sed >= 4.0 | |
28 | BuildRequires: which | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %define target m68k-elf | |
32 | %define arch %{_prefix}/%{target} | |
33 | ||
34 | %define _noautostrip .*%{arch}/lib/.*\\.[ao]$ | |
35 | ||
36 | %description | |
37 | Small libc for building embedded applications. | |
38 | Version compiled for m68k. | |
39 | ||
40 | %description -l pl | |
41 |