forked from rosa/hakurei
internal/rosa/package: migrate make
This also introduces the generic helper for unusual build scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
26
internal/rosa/package/make.az
Normal file
26
internal/rosa/package/make.az
Normal file
@@ -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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user