forked from rosa/hakurei
internal/rosa/package: migrate perl Module::Build
This is now possible via the generic helper. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -46,6 +46,37 @@ chmod +w /system/bin && rm -f /system/bin/ps # perl does not like toybox ps
|
||||
};
|
||||
}
|
||||
|
||||
package perl-Module-Build {
|
||||
description = "build and install Perl modules";
|
||||
website = "https://metacpan.org/release/Module-Build";
|
||||
anitya = 3077;
|
||||
|
||||
version* = "0.4234";
|
||||
source = remoteCPAN {
|
||||
author = "LEONT";
|
||||
name = "Module-Build";
|
||||
version = version;
|
||||
checksum = "ZKxEFG4hE1rqZt52zBL2LRZBMkYzhjb5-cTBXcsyA52EbPeeYyVxU176yAea8-Di";
|
||||
};
|
||||
|
||||
writable = true;
|
||||
chmod = true;
|
||||
|
||||
exec = generic {
|
||||
build = `
|
||||
perl Build.PL --prefix=/system
|
||||
./Build build`;
|
||||
check = `
|
||||
./Build test`;
|
||||
install = `
|
||||
./Build install --destdir=/work
|
||||
`;
|
||||
};
|
||||
|
||||
inputs = [ perl ];
|
||||
runtime = [ perl ];
|
||||
}
|
||||
|
||||
package perl-Locale-gettext {
|
||||
description = "message handling functions";
|
||||
website = "https://metacpan.org/release/Locale-gettext";
|
||||
|
||||
Reference in New Issue
Block a user