pantry/projects/gnu.org/bash/package.yml
Jacob Heider 3bbb8dc4e0 fix(bash)
closes #4018
2023-11-09 17:44:53 -05:00

32 lines
691 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

distributable:
url: https://ftp.gnu.org/gnu/bash/bash-{{ version.raw }}.tar.gz
strip-components: 1
versions:
url: https://ftp.gnu.org/gnu/bash/
match: /bash-\d+\.\d+(\.\d+)?.tar.gz/
strip:
- /^bash-/
- /\.tar\.gz$/
provides:
- bin/bash
- bin/bashbug
interprets:
extensions: bash
args: [bash, -e]
build:
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install
env:
CFLAGS:
# causes bash to source ~/.bashrc when instantiated
# non-interactively from sshd. macOSs bash does this so users expect it.
- -DSSH_SOURCE_BASHRC
- -Wno-implicit-function-declaration
test: bash -c "set -o pipefail"