pantry/projects/gnu.org/m4/package.yml

25 lines
453 B
YAML
Raw Normal View History

2022-08-02 04:08:18 +03:00
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