pantry/projects/gnu.org/m4/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

24 lines
433 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:
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