mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
fe6eadedc8
* Changes for tea/cli 0.19 * wip * wip * wip * wip * wip
32 lines
741 B
YAML
32 lines
741 B
YAML
distributable:
|
||
url: https://ftp.gnu.org/gnu/bash/bash-{{ version.raw }}.tar.gz
|
||
strip-components: 1
|
||
|
||
versions:
|
||
#TODO possibly, `github: bminor/bash/tags` though doesn’t 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. macOS’s bash does this so users expect it.
|
||
CFLAGS: -DSSH_SOURCE_BASHRC
|
||
|
||
test:
|
||
script: |
|
||
bash -c "set -o pipefail"
|