package make {
	description = "a tool which controls the generation of executables and other non-source files"
	website = "https://www.gnu.org/software/make"
	anitya = 1877

	version# = "4.4.1"
	source = remoteTar {
		url = "https://ftpmirror.gnu.org/gnu/make/make-${version}.tar.gz"
		checksum = "YS_B07ZcAy9PbaK5_vKGj64SrxO2VMpnMKfc9I0Q9IC1rn0RwOH7802pJoj2Mq4a"
		compress = gzip
	}

	toyboxEarly

	exec = generic {
		build = r`/usr/src/make/configure \
		         --prefix=/system \
		         --build="${ROSA_TRIPLE}" \
		         --disable-dependency-tracking
		         ./build.sh`
		// test suite wants perl
		install = "./make DESTDIR=/work install"
	}
}
