48021ef39c
The diffutils recipe only ran cookbook_configure but never actually compiled or installed anything, leaving stage.tmp empty (4K). This caused redbear-mini to fail with a 4.0K INCOMPLETE stage and no diff/diff3 binaries in the final image. Add the missing make and make install steps, matching the pattern used by other autotools recipes (bison, findutils, etc.).
36 lines
926 B
TOML
36 lines
926 B
TOML
[source]
|
|
tar = "https://ftp.gnu.org/gnu/diffutils/diffutils-3.6.tar.xz"
|
|
blake3 = "086a95093c15edcdb826e75ff4de6c2213de6fbd2eb13538d07bdc3286dfb4a4"
|
|
patches = ["diffutils.patch"]
|
|
script = """
|
|
autoreconf
|
|
"""
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = ["relibc"]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
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
|
|
gl_cv_func_working_mktime=yes
|
|
ac_cv_func_getprogname=yes
|
|
gl_cv_header_working_stddef_h=yes
|
|
gl_cv_header_working_stdint_h=yes
|
|
gl_cv_header_sys_types_h=yes
|
|
ac_cv_header_wchar_h=yes
|
|
ac_cv_header_stdio_h=yes
|
|
)
|
|
cookbook_configure
|
|
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
|
|
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}"
|
|
rm -f "${COOKBOOK_STAGE}/usr/share/info/dir"
|
|
"""
|
|
|
|
[package]
|
|
description = "GNU diffutils (gnulib bypass enabled)"
|