From 69e5aef6f3580a3176840bed8b6a58e2fea5c302 Mon Sep 17 00:00:00 2001 From: Anhad Singh Date: Thu, 26 Dec 2024 16:11:03 +1100 Subject: [PATCH] feat(gnu-make): dynamic Signed-off-by: Anhad Singh --- recipes/dev/gnu-make/recipe.toml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/recipes/dev/gnu-make/recipe.toml b/recipes/dev/gnu-make/recipe.toml index 7db31a04e..fb274e60b 100644 --- a/recipes/dev/gnu-make/recipe.toml +++ b/recipes/dev/gnu-make/recipe.toml @@ -1,9 +1,19 @@ -#TODO very basic makefiles are tested to work but needs more testing -[source] -tar = "http://ftp.gnu.org/gnu/make/make-4.4.tar.gz" -patches = [ - "redox.patch" -] - -[build] -template = "configure" +#TODO very basic makefiles are tested to work but needs more testing +[source] +tar = "http://ftp.gnu.org/gnu/make/make-4.4.tar.gz" +patches = [ + "redox.patch" +] +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" + +[build] +template = "custom" +script = """ +DYNAMIC_INIT +cp -rp "$COOKBOOK_SOURCE/." ./ +cookbook_configure +""" +