pantry/projects/gnu.org/bash/package.yml
Jacob Heider b549ce9c75
fix(bash)
2023-04-15 19:06:40 -04:00

32 lines
749 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:
#TODO possibly, `github: bminor/bash/tags` though doesnt know patch releases
#TODO HTML listing: https://ftp.gnu.org/gnu/bash/
- 5.1.16
provides:
- bin/bash
- bin/bashbug
interprets:
extensions: bash
args: [bash, -e]
build:
dependencies:
tea.xyz/gx/make: '*'
tea.xyz/gx/cc: c99
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install
env:
# causes bash to source ~/.bashrc when instantiated
# non-interactively from sshd. macOSs bash does this so users expect it.
CFLAGS: $CFLAGS -DSSH_SOURCE_BASHRC
test:
script: |
bash -c "set -o pipefail"