diff --git a/recipes/bash/recipe.toml b/recipes/bash/recipe.toml index b3e0ed2e4755be47b606e34d54e2af2f335cb086..be87f9d682e1d644ff42222f901449d512003118 100644 --- a/recipes/bash/recipe.toml +++ b/recipes/bash/recipe.toml @@ -1,8 +1,5 @@ [source] tar = "http://ftp.gnu.org/gnu/bash/bash-4.4.tar.gz" -dependencies = [ - "gettext" -] patches = [ "redox.patch" ] @@ -12,6 +9,9 @@ wget -O support/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/con [build] template = "custom" +dependencies = [ + "gettext" +] script = """ COOKBOOK_CONFIGURE_FLAGS+=( --disable-readline diff --git a/recipes/gettext/recipe.toml b/recipes/gettext/recipe.toml new file mode 100644 index 0000000000000000000000000000000000000000..4460b4494b817a2115c0d7ad684d000ba4f450a4 --- /dev/null +++ b/recipes/gettext/recipe.toml @@ -0,0 +1,27 @@ +[source] +tar = "http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.1.tar.xz" +patches = [ + "redox.patch" +] +script = """ +wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub +""" + +[build] +template = "custom" +dependencies = [ + "libiconv" +] +script = """ +COOKBOOK_CONFIGURE_FLAGS+=( + --disable-shared + --enable-static + ac_cv_have_decl_program_invocation_name=no + gt_cv_locale_fr=false + gt_cv_locale_fr_utf8=false + gt_cv_locale_ja=false + gt_cv_locale_tr_utf8=false + gt_cv_locale_zh_CN=false +) +cookbook_configure +"""