core/busybox/ndmake.sh
$ cat ndmake.sh
#!/bin/sh -ue
NAME=busybox
VERSION=1.36.1
RELEASE=1
SOURCE="https://busybox.net/downloads/busybox-${VERSION}.tar.bz2"

build(){
    sed -i 's/gcc/clang -static/g' Makefile
    gmake PREFIX="$PREFIX" DESTDIR="$PKG" defconfig
    sed -i 's#GNU/Linux#Serious/Linux#g' `find . -name .config -type f`
    gmake PREFIX="$PREFIX" DESTDIR="$PKG" CFLAGS='-static' LDFLAGS='-static'
    gmake PREFIX="$PREFIX" DESTDIR="$PKG" install

    # i dont know why busybox does this but sure ig
    mkdir -p $PKG/$PREFIX/
    cp -r ./_install/* $PKG/$PREFIX/.
}

. ${0%/*}/../../libsh/libdmake.sh