Building Stali Linux

requirements

sbopkg -i mawk
slackpkg install bc

then simply follow the official instructions and

cd src/
export STALISRC=`pwd`/
vi config.mk

DESTDIR     = $(ROOT)/rootfs-x86_64

make
make install