aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/strace/package.az
blob: 7e46147dfe09769957427878b809515b4b51c95c (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.2";
	source = remoteGit {
		url = "https://github.com/strace/strace.git";
		tag = "v"+version;
		checksum = "_vIfkx9C8Q-F4Q1WE1jBMPFeDv3f2h-L1BTCokKqw3G993H2i5NYtBArIDo2Sx_O";
	};
	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,
	];
}