aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/dtc.az
blob: d2b7dafc320133a96a3f3bc503358d6ae0f6f9b8 (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
package dtc {
	description = "The Device Tree Compiler";
	website = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git";
	anitya = 16911;

	version* = "1.7.2";
	source = remoteTar {
		url = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/"+
			"dtc-v"+version+".tar.gz";
		checksum = "vUoiRynPyYRexTpS6USweT5p4SVHvvVJs8uqFkkVD-YnFjwf6v3elQ0-Etrh00Dt";
		compress = gzip;
	};

	// works around buggy test:
	// fdtdump-runtest.sh /usr/src/dtc/tests/fdtdump.dts
	writable = true;
	chmod = true;

	exec = meson {
		setup = {
			"Dyaml": "disabled";
			"Dstatic-build": "true";
		};
	};

	inputs = [
		flex,
		bison,
		m4,
		coreutils,
		diffutils,
	];
}