This repository has been archived on 2022-01-17. You can view files and clone it, but cannot push or open issues/pull-requests.
2019-08-03 12:06:11 +02:00
|
|
|
name: busybox
|
|
|
|
version: 1.31.0
|
|
|
|
release: 1
|
|
|
|
sources: https://busybox.net/downloads/busybox-%{version}.tar.bz2
|
|
|
|
@configure
|
2019-08-26 16:29:25 +02:00
|
|
|
cd busybox-%{version}
|
|
|
|
make defconfig
|
|
|
|
sed -e 's/.*CONFIG_STATIC.*/CONFIG_STATIC=y/' .config > config-new
|
|
|
|
mv config-new .config
|
2019-08-03 12:06:11 +02:00
|
|
|
|
|
|
|
@install
|
|
|
|
mkdir -p '%{pkg}/bin'
|
|
|
|
mkdir -p '%{pkg}/sbin'
|
|
|
|
mkdir -p '%{pkg}/usr/bin'
|
|
|
|
mkdir -p '%{pkg}/usr/sbin'
|
|
|
|
cp busybox-%{version}/busybox '%{pkg}/bin/busybox'
|
|
|
|
chroot '%{pkg}' /bin/busybox --%{name} -s
|
2019-08-19 20:23:38 +02:00
|
|
|
mv '%{pkg}/usr/sbin/killall5' '%{pkg}/sbin/'
|