diff --git a/projects/hunspell.github.io/package.yml b/projects/hunspell.github.io/package.yml new file mode 100644 index 00000000..bb3f2c33 --- /dev/null +++ b/projects/hunspell.github.io/package.yml @@ -0,0 +1,40 @@ +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: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + 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}} \ No newline at end of file