diff --git a/recipes/wip/dev/other/tcl/recipe.toml b/recipes/wip/dev/other/tcl/recipe.toml index ea2c70a2..f02a4d05 100644 --- a/recipes/wip/dev/other/tcl/recipe.toml +++ b/recipes/wip/dev/other/tcl/recipe.toml @@ -1,9 +1,17 @@ -#TODO maybe wrong template, see https://www.tcl.tk/doc/howto/compile.html#unix +#TODO compiled but not tested [source] tar = "http://prdownloads.sourceforge.net/tcl/tcl8.6.13-src.tar.gz" +blake3 = "a44611c5d38d7dbc1e6ce49d6a78ae7d43817b861412b54b30357bc431510978" + [build] template = "custom" script = """ -cd unix +DYNAMIC_INIT +COOKBOOK_CONFIGURE="$COOKBOOK_SOURCE/unix/configure" +COOKBOOK_CONFIGURE_FLAGS+=( + ac_cv_func_memcmp_working=yes + tcl_cv_strstr_unbroken= + tcl_cv_strtoul_unbroken= +) cookbook_configure -""" \ No newline at end of file +""" diff --git a/recipes/wip/tests/sqlite-test/recipe.toml b/recipes/wip/tests/sqlite-test/recipe.toml new file mode 100644 index 00000000..c1f86d05 --- /dev/null +++ b/recipes/wip/tests/sqlite-test/recipe.toml @@ -0,0 +1,18 @@ +[source] +git = "https://github.com/sqlite/sqlite" +shallow_clone = true + +[build] +template = "custom" +script = """ +mkdir -pv "${COOKBOOK_STAGE}/home/user/sqlite-test" +cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/sqlite-test" +""" + +[package] +dependencies = [ + "gcc13", + "gnu-binutils", + "gnu-make", + "tcl", +]