aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/make.az
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/package/make.az')
-rw-r--r--internal/rosa/package/make.az50
1 files changed, 43 insertions, 7 deletions
diff --git a/internal/rosa/package/make.az b/internal/rosa/package/make.az
index c35dcfa3..5142b079 100644
--- a/internal/rosa/package/make.az
+++ b/internal/rosa/package/make.az
@@ -1,25 +1,61 @@
-package make {
- description = "a tool which controls the generation of executables and other non-source files";
- website = "https://www.gnu.org/software/make";
- anitya = 1877;
+package make-source {
+ description = "GNU make source tree";
+ exclude = true;
version# = "4.4.1";
- source = remoteTar {
+ output = remoteTar {
url = "https://mirrors.kernel.org/gnu/make/make-"+version+".tar.gz";
checksum = "YS_B07ZcAy9PbaK5_vKGj64SrxO2VMpnMKfc9I0Q9IC1rn0RwOH7802pJoj2Mq4a";
compress = gzip;
};
+}
+package make-early {
+ description = "early, dependency-free build of make";
+ exclude = true;
+
+ source = make-source;
toyboxEarly = true;
exec = generic {
- build = `/usr/src/make/configure \
+ build = `/usr/src/make-early/configure \
--prefix=/system \
- --build="${ROSA_TRIPLE}" \
+ --host='`+triple+`' \
+ --target='`+triple+`' \
+ --build='`+hostTriple+`' \
--disable-dependency-tracking
./build.sh
`;
// test suite wants perl
+ check = "";
+
install = "./make DESTDIR=/work install\n";
};
}
+package make {
+ description = "a tool which controls the generation of executables and other non-source files";
+ website = "https://www.gnu.org/software/make";
+ anitya = 1877;
+
+ source = make-source;
+ toyboxEarly = true;
+
+ // GNU tar not yet available
+ writable = true;
+ early = `
+chmod +w tests/scripts/misc
+rm -f \
+ tests/scripts/misc/close_stdout \
+ tests/scripts/misc/general4
+`;
+
+ exec = make {
+ early = true;
+ defaults = false;
+ };
+
+ tools = [
+ perl,
+ gzip,
+ ];
+}