aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/libucontext.az
blob: 0be5b1d066c45d090ec8b71c3900c5d46784d7ac (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.1";
	source = remoteGitHub {
		suffix = "kaniini/libucontext";
		tag = "libucontext-"+version;
		checksum = "mUgeyJknjMxT-5fORzz-rqhZfP3Y7EZGBhOwvhuX7MsF4Pk9wkuwtrLf5IML-jWu";
	};

	// 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";
	};
}