lang/pforth/ndmake.sh
$ cat ndmake.sh
#!/bin/sh -ue
NAME=pforth
VERSION=git
RELEASE=1
SOURCE="https://github.com/philburk/pforth.git"
build() {
cd platforms/unix
gmake -j"$NPROC" CC="${CC:-cc}" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
mkdir -p "$PKG$PREFIX/bin"
cp "pforth_standalone" "$PKG$PREFIX/bin/pforth"
}
. ${0%/*}/../../libsh/libdmake.sh
