aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/awk.az
blob: 8f97fa042051178f9f79e8f4d0e07f48ddb48e22 (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
package awk {
	description = "one true awk";
	website = "https://github.com/onetrueawk/awk";
	anitya = 16171;

	version# = "20260426";
	source = remoteGitHub {
		suffix = "onetrueawk/awk";
		tag = version;
		checksum = "ewAvWLEHajhm7cA7v4DsKVk1c11niCLKIE5Q-8W_sxv1XXsbZlcOuWn1KOBYMxjo";
	};

	enterSource = true;
	writable = true;
	chmod = true;

	exec = make {
		omitDefaults = true;
		inPlace = true;
		skipConfigure = true;
		make = [ "YACC='yacc -d -b awkgram'" ];
		preCheck = "install -vD a.out /system/bin/awk\n";
		install = "install -vD a.out /work/system/bin/awk";
	};

	inputs = [
		m4,
		byacc,
		diffutils,
	];
}