diff --git a/recipes/libs/libogg/recipe.toml b/recipes/libs/libogg/recipe.toml index 996b764e..f0dcf406 100644 --- a/recipes/libs/libogg/recipe.toml +++ b/recipes/libs/libogg/recipe.toml @@ -4,6 +4,20 @@ blake3 = "8220c0e4082fa26c07b10bfe31f641d2e33ebe1d1bb0b20221b7016bc8b78a3a" patches = [ "redox.patch" ] +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" [build] -template = "configure" +template = "custom" +script = """ +DYNAMIC_INIT +COOKBOOK_CONFIGURE_FLAGS=( + --host="${GNU_TARGET}" + --prefix="/usr" + --enable-shared + --enable-static +) +cookbook_configure +""" diff --git a/recipes/libs/libvorbis/recipe.toml b/recipes/libs/libvorbis/recipe.toml index fa5717cd..b3908c09 100644 --- a/recipes/libs/libvorbis/recipe.toml +++ b/recipes/libs/libvorbis/recipe.toml @@ -1,8 +1,23 @@ [source] tar = "https://github.com/xiph/vorbis/releases/download/v1.3.7/libvorbis-1.3.7.tar.xz" blake3 = "c67f3f74ec26d93a5571c4404a64eb6e6587d7d77b46b552f7b410f5bc5b1f03" +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" + [build] -template = "configure" +template = "custom" dependencies = [ "libogg" ] +script = """ +DYNAMIC_INIT +COOKBOOK_CONFIGURE_FLAGS=( + --host="${GNU_TARGET}" + --prefix="/usr" + --enable-shared + --enable-static +) +cookbook_configure +"""