version = "5.2.32" revision = 1 metadata = meta( description = "GNU Bourne-Again SHell", license = "GPL-3.0-or-later", website = "https://www.gnu.org/software/bash/", ) source = tarball_source( url = f"https://ftp.gnu.org/gnu/bash/bash-{version}.tar.gz", sha256 = "d3ef80d2b67d8cbbe4d3265c63a72c46f9b278ead6e0e06d61801b58f23f50b5", strip_components = 1, ) host_deps = ["binutils", "gcc"] deps = [options.libc, "ncurses", "readline"] configure, build, install = autotools(configure_args = [ "--without-bash-malloc", "--with-installed-readline", "--enable-readline", "--enable-history", "--enable-job-control", ], configure_env = {"CFLAGS": "-std=gnu17"})