forked from rosa/hakurei
internal/rosa: improve helper bindings
This uses more intuitive names for some arguments and inverts their default value. Slices and nil-capable strings replace skip arguments. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -17,20 +17,10 @@ package lm_sensors {
|
||||
bin = [ "perl" ];
|
||||
populateUsrBin = true;
|
||||
exec = make {
|
||||
inPlace = true;
|
||||
skipConfigure = true;
|
||||
|
||||
make = [
|
||||
"CC=cc",
|
||||
"ETCDIR=/system/etc",
|
||||
"PREFIX=/system",
|
||||
];
|
||||
|
||||
check = [
|
||||
"CC=cc",
|
||||
"check",
|
||||
];
|
||||
|
||||
chdir = false;
|
||||
configure = nil;
|
||||
make = [ "CC=cc", "ETCDIR=/system/etc", "PREFIX=/system" ];
|
||||
check = [ "CC=cc", "check" ];
|
||||
install = "make DESTDIR=/work PREFIX=/system install";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user