package bzip2 {
	description = "a freely available, patent free, high-quality data compressor";
	website = "https://sourceware.org/bzip2";
	anitya = 237;

	version# = "1.0.8";
	source = remoteTar {
		url = "https://sourceware.org/pub/bzip2/bzip2-"+version+".tar.gz";
		checksum = "cTLykcco7boom-s05H1JVsQi1AtChYL84nXkg_92Dm1Xt94Ob_qlMg_-NSguIK-c";
		compress = gzip;
	};

	// uses source tree as scratch space
	writable = true;
	enterSource = true;

	exec = make {
		skipConfigure = true;
		skipCheck = true;
		inPlace = true;

		make = [
			"CC=cc",
		];
		install = "make PREFIX=/work/system install";
	};
}
