busybox/busybox.spec

44 lines
1.1 KiB
RPMSpec
Raw Normal View History

1999-10-05 21:54:54 +05:30
Name: busybox
1999-11-12 07:00:18 +05:30
Version: 0.35
1999-10-05 21:54:54 +05:30
Release: 1
Group: System/Utilities
Summary: BusyBox is a tiny suite of Unix utilities in a multi-call binary.
Copyright: GPL
Packager : Erik Andersen <andersen@lineo.com>
Conflicts: fileutils grep shellutils
Buildroot: /tmp/%{Name}-%{Version}
1999-11-12 07:00:18 +05:30
Source: %{Name}-%{Version}.tar.gz
1999-10-05 21:54:54 +05:30
%Description
BusyBox is a suite of "tiny" Unix utilities in a multi-call binary. It
1999-10-23 11:12:08 +05:30
provides a pretty complete POSIX environment in a very small package.
Just add a kernel, "ash" (Keith Almquists tiny Bourne shell clone), and
an editor such as "elvis-tiny" or "ae", and you have a full system. This
is makes an excellent environment for a "rescue" disk or any small or
embedded system.
1999-10-05 21:54:54 +05:30
%Prep
1999-11-12 07:00:18 +05:30
%setup -q -n %{Name}-%{Version}
1999-10-05 21:54:54 +05:30
%Build
make
%Install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/bin
h=`cat busybox.links`
for i in $h ; do
mkdir -p $RPM_BUILD_ROOT/`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\1/g' `
(cd $RPM_BUILD_ROOT/bin ; ln -s busybox `echo $i | sed -e 's/\(^.*\/\)\(.*\)/\2/g' ` );
1999-10-05 21:54:54 +05:30
done
1999-11-03 01:13:01 +05:30
rm -f $RPM_BUILD_ROOT/bin/busybox
install -m 755 busybox $RPM_BUILD_ROOT/bin/busybox
1999-10-05 21:54:54 +05:30
%Clean
rm -rf $RPM_BUILD_ROOT
%Files
%defattr(-,root,root)
/