pantry/projects/hunspell.github.io/package.yml
2023-10-01 20:41:57 -04:00

36 lines
708 B
YAML

distributable:
url: https://github.com/hunspell/hunspell/releases/download/v{{version}}/hunspell-{{version}}.tar.gz
strip-components: 1
display-name: hunspell
versions:
github: hunspell/hunspell
dependencies:
gnu.org/readline: '*'
invisible-island.net/ncurses: '*'
gnu.org/gettext: '*'
build:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --with-readline
- --with-ui
- --disable-silent-rules
provides:
- bin/analyze
- bin/chmorph
- bin/hunspell
- bin/hunzip
- bin/hzip
- bin/munch
- bin/unmunch
test: hunspell --version | grep {{version}}