aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/strace/package.az
blob: 9bbf279e143721ec2fa01e0cd468b6b4736ce707 (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
29
30
31
32
33
34
35
package strace {
	description = "a diagnostic, debugging and instructional userspace utility";
	website = "https://strace.io";
	anitya = 4897;

	version# = "7.1";
	source = remoteGit {
		url = "https://github.com/strace/strace.git";
		tag = "v"+version;
		checksum = "vGwgAAi_mGsoICDYHK9Vhbn2hBR0JIoUEkCKhLA2JHFg8NFvGsYEWGIafdnsN0_v";
	};
	patches = [
		"tests-musl.patch",
		"skip-broken-tests.patch",
	];

	exec = make {
		generate = "tee .version .tarball-version <<< '"+version+"' > /dev/null && "+
			"./bootstrap";
		configure = {
			// tests broken on clang
			"disable-gcc-Werror";

			"enable-mpers": "no";
		};
	};

	inputs = [
		bash,
		gawk,
		automake,

		kernel-headers,
	];
}