core/curl/ndmake.sh
$ cat ndmake.sh
#!/bin/sh -ue
NAME=curl
VERSION=8.17.0
RELEASE=1
SOURCE="https://github.com/xplshn/carl/archive/refs/tags/carl-bssl-${VERSION}.tar.gz"
BUILD_OPT="--with-bearssl --without-libpsl --without-zstd --without-brotli \
	--without-libidn2 --disable-ldap --disable-ldaps --disable-shared --enable-static"

prebuild() {
	sed 's/\(curl_LDADD =\)/\1 -all-static/' src/Makefile.in > _
}

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