busybox: portability fix
parent
63aa380108
commit
3611138e97
|
@ -3,9 +3,10 @@ version: 1.31.0
|
|||
release: 1
|
||||
sources: https://busybox.net/downloads/busybox-%{version}.tar.bz2
|
||||
@configure
|
||||
cd busybox-%{version} && make defconfig
|
||||
sed -e 's/.*CONFIG_STATIC.*/CONFIG_STATIC=y/' busybox-%{version}/.config > config-new
|
||||
mv config-new busybox-%{version}/.config
|
||||
cd busybox-%{version}
|
||||
make defconfig
|
||||
sed -e 's/.*CONFIG_STATIC.*/CONFIG_STATIC=y/' .config > config-new
|
||||
mv config-new .config
|
||||
|
||||
@install
|
||||
mkdir -p '%{pkg}/bin'
|
||||
|
|
Reference in New Issue