wl/swall/ndmake.sh
$ cat ndmake.sh
#!/bin/sh -ue
NAME=swall
VERSION=git
RELEASE=1
SOURCE="https://git.sr.ht/~uint/swall"
build() {
make CC="cc -static" PKG_CONFIG="pkg-config --static"
mkdir -p "$PKG$PREFIX/bin"
cp swall "$PKG$PREFIX/bin"
}
. ${0%/*}/../../libsh/libdmake.sh
