Obsolete
/
recipes
Archived
3
0
Fork 0
This repository has been archived on 2022-01-17. You can view files and clone it, but cannot push or open issues/pull-requests.
recipes/busybox/recipe.spec

17 lines
444 B
Plaintext

name: busybox
version: 1.31.0
release: 1
sources: https://busybox.net/downloads/busybox-%{version}.tar.bz2
@configure
cd busybox-%{version} && make defconfig
sed -i -e 's/.*CONFIG_STATIC.*/CONFIG_STATIC=y/' busybox-%{version}/.config
@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