pantry/projects/gnu.org/gperf/package.yml
2023-10-01 20:41:57 -04:00

21 lines
389 B
YAML

distributable:
url: https://ftp.gnu.org/gnu/gperf/gperf-3.1.tar.gz
strip-components: 1
versions:
url: https://ftp.gnu.org/gnu/gperf/
match: /gperf-(\d+\.\d+(\.\d+)?)\.tar\.gz/
strip:
- /gperf-/
- /.tar.gz/
build:
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install
test: echo "tea\nfoo\nbar" | gperf
provides:
- bin/gperf