pantry/projects/gnu.org/m4/package.yml
2022-12-21 17:23:29 -05:00

25 lines
481 B
YAML

distributable:
url: https://ftp.gnu.org/gnu/m4/m4-{{ version }}.tar.xz
strip-components: 1
versions:
github: autotools-mirror/m4/tags
ignore: [v1.9a, v1.5.89a]
build:
dependencies:
tea.xyz/gx/make: '*'
tea.xyz/gx/cc: c99
script: |
./configure --prefix="{{ prefix }}"
make --jobs {{ hw.concurrency }} install
test:
script: |
OUTPUT=$(cat $FIXTURE | m4)
test $OUTPUT = tea.xyz
fixture: |
define(TEST, tea.xyz)TEST
provides:
- bin/m4