5 Summary: The Swiss Army Knife of Embedded Linux
6 Url: http://www.busybox.net/
8 Source: http://busybox.net/downloads/%{name}-%{version}.tar.bz2
9 Source2: busybox.tizen.config
12 BusyBox combines tiny versions of many common UNIX utilities into a
13 small single executable. It provides minimalist replacements for most
14 of the utilities usually found in fileutils, shellutils, findutils,
15 textutils, grep, gzip, tar, and more. BusyBox provides a fairly
16 complete POSIX environment for any small or embedded system. The
17 utilities in BusyBox generally have fewer options than their
18 full-featured GNU cousins. The options that are included provide the
19 expected functionality and behave very much like their GNU
24 cp -a %{SOURCE2} .config
28 export BUILD_VERBOSE=2
29 export CFLAGS="%{optflags} -fno-strict-aliasing"
33 make -e %{?_smp_mflags}
34 make -e doc busybox.links %{?_smp_mflags}
37 install -d %{buildroot}%{_prefix}/bin
38 install -d %{buildroot}%{_datadir}/busybox
39 install busybox.links %{buildroot}%{_datadir}/busybox
40 install applets/install.sh %{buildroot}%{_bindir}/busybox.install
41 install busybox %{buildroot}%{_prefix}/bin
47 %{_bindir}/busybox.install
48 %dir %{_datadir}/busybox
49 %config %{_datadir}/busybox/busybox.links