This commit is contained in:
2026-05-20 00:30:38 +02:00
parent 312750c61b
commit 16d81f509f
36 changed files with 13292 additions and 273 deletions
+8 -2
View File
@@ -11,9 +11,9 @@ source = tarball_source(
strip_components = 1,
)
host_deps = ["binutils", "gcc"]
deps = ["ncurses"]
deps = [options.libc, "ncurses"]
configure, build, install = autotools(
configure, build, _ = autotools(
configure_args = ["--with-curses"],
configure_env = {
# Force linking against the system curses; otherwise readline's
@@ -21,3 +21,9 @@ configure, build, install = autotools(
"bash_cv_termcap_lib": "ncursesw",
},
)
# Readline overwrites DESTDIR
def install(ctx, pkg):
autotools_install(ctx, pkg, extra_args = [
"DESTDIR=" + pkg.dest_dir
])