aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/libucontext.az
blob: c063f9b10daf6dd07c5615e87a3c07edd2b36643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 {
		omitDefaults = true;
		skipConfigure = true;
		inPlace = true;

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