package libucontext {
	description = "ucontext implementation featuring glibc-compatible ABI";
	website = "https://github.com/kaniini/libucontext";
	anitya = 17085;

	version# = "1.5.2";
	source = remoteGitHub {
		suffix = "kaniini/libucontext";
		tag = "libucontext-"+version;
		checksum = "SSIdb9LVzAel9JPGfkrnG1MIF60Hx5ZJoXBDbmxi9swbrjSfsLkTyldB1wEAnAH0";
	};

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

	exec = make {
		defaults = false;
		chdir = false;

		configure = nil;
		make = [ "ARCH=" + linuxArch ];
		install = "make prefix=/system DESTDIR=/work install";
	};
}
