pantry/projects/gnu.org/m4/package.yml
2022-08-01 21:08:18 -04:00

25 lines
453 B
YAML

distributable:
url: https://ftp.gnu.org/gnu/m4/m4-{{ version }}.tar.xz
strip-components: 1
versions:
github: autotools-mirror/m4/tags
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