pantry/projects/doxygen.nl/package.yml

35 lines
756 B
YAML
Raw Normal View History

distributable:
url: https://github.com/doxygen/doxygen/archive/refs/tags/Release_{{version.major}}_{{version.minor}}_{{version.patch}}.tar.gz
strip-components: 1
versions:
- 1.9.6 # FIXME: the versions are "Release_1_9_6" but no idea how I can parse this without regex
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/bison: ^3
cmake.org: ^3
github.com/westes/flex: 2
python.org: ^3
working-directory: build
script: |
cmake $ARGS -G "Unix Makefiles" ..
make --jobs {{ hw.concurrency }}
make install
env:
ARGS:
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
- -DCMAKE_BUILD_TYPE=Release
provides:
- bin/doxygen
test:
script: |
doxygen -g
doxygen Doxyfile