From 3e45672be64487bb7f758bd78384adb61cca1cdf Mon Sep 17 00:00:00 2001 From: Anhad Singh Date: Fri, 27 Dec 2024 03:07:28 +1100 Subject: [PATCH] feat(mpc) Signed-off-by: Anhad Singh --- recipes/libs/mpc/recipe.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/libs/mpc/recipe.toml diff --git a/recipes/libs/mpc/recipe.toml b/recipes/libs/mpc/recipe.toml new file mode 100644 index 000000000..749805ad4 --- /dev/null +++ b/recipes/libs/mpc/recipe.toml @@ -0,0 +1,21 @@ + # C library for the arithmetic of complex numbers with arbitrarily high + # precision and correct rounding of the result. + +[source] +tar = "https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz" +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" + +[build] +template = "custom" +dependencies = [ + "libgmp", + "libmpfr", +] +script = """ +DYNAMIC_INIT +cookbook_configure +""" +