aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-19 19:28:18 +0900
committerOphestra <cat@gensokyo.uk>2026-05-19 19:28:18 +0900
commit548c96c7ec4a8c7c5abb4df1dac3d4a8671e2171 (patch)
treea6f586def327ab9c434bd6ef3a083d3cc1605b88 /internal/rosa/package
parent6e8bfa6c4c963ff6c7d417a1cc703e4504e1fb9d (diff)
internal/rosa/package: migrate make
This also introduces the generic helper for unusual build scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package')
-rw-r--r--internal/rosa/package/make.az26
1 files changed, 26 insertions, 0 deletions
diff --git a/internal/rosa/package/make.az b/internal/rosa/package/make.az
new file mode 100644
index 00000000..9d685a44
--- /dev/null
+++ b/internal/rosa/package/make.az
@@ -0,0 +1,26 @@
+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;
+
+ version* = "4.4.1";
+ source = remoteTar {
+ url = "https://ftpmirror.gnu.org/gnu/make/make-"+version+".tar.gz";
+ checksum = "YS_B07ZcAy9PbaK5_vKGj64SrxO2VMpnMKfc9I0Q9IC1rn0RwOH7802pJoj2Mq4a";
+ compress = gzip;
+ };
+
+ toyboxEarly = true;
+
+ exec = generic {
+ mktemp = true;
+ build = `/usr/src/make/configure \
+ --prefix=/system \
+ --build="${ROSA_TRIPLE}" \
+ --disable-dependency-tracking
+./build.sh
+`;
+ // test suite wants perl
+ install = "./make DESTDIR=/work install\n";
+ };
+}