# bmake - the BSD make, in place of GNU make.
name=bmake
version=20260714
release=1
desc="The NetBSD make utility"
url="https://www.crufty.net/help/sjg/bmake.html"
license="BSD-3-Clause"
depend="glibc"
provides="make"
source="http://www.crufty.net/ftp/pub/sjg/bmake-$version.tar.gz"
sha256="SKIP"

build() {
	mkdir -p obj
	cd obj
	../bmake/boot-strap --prefix=/usr op=build
}

package() {
	cd obj
	../bmake/boot-strap --prefix=/usr --install-destdir="$pkgdir" op=install
	# 'make' on Arctic means bmake.
	ln -sf bmake "$pkgdir/usr/bin/make"
}
