Add gettext recipe.toml

This commit is contained in:
Jeremy Soller 2020-07-14 20:46:31 -06:00
parent dfd25bde8b
commit aec6b0294e
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
2 changed files with 30 additions and 3 deletions

View File

@ -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

View File

@ -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
"""