net/libtls-bearssl/ndmake.sh
$ cat ndmake.sh
#!/bin/sh -ue
NAME=libtls-bearssl
VERSION=git
RELEASE=1
SOURCE="https://git.sr.ht/~mcf/libtls-bearssl/
https://github.com/michaelforney/libtls-bearssl"
BUILD_OPT="CC=cc CFLAGS=-DLIBRESSL_INTERNAL"
BUILD_STYLE=make
prebuild() {
find . -name "*.c" -exec sed -i 's|#include <tls\.h>|#include "tls.h"|g' {} +
cp compat.h compat/compat.h
}
. ${0%/*}/../../libsh/libdmake.sh
