forked from rosa/hakurei
internal/rosa/package: awk
This should replace gawk in many cases. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
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;
|
||||
preCheck = "install -vD a.out /system/bin/awk\n";
|
||||
install = "install -vD a.out /work/system/bin/awk";
|
||||
};
|
||||
|
||||
inputs = [
|
||||
m4,
|
||||
bison,
|
||||
diffutils,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user