pantry/projects/doxygen.nl/package.yml
Marc Seitz 035c6ef4f6
+doxygen (#447)
* add doxygen
* add flex and python on linux
* cleanup test

---------

Co-authored-by: Max Howell <mxcl@me.com>
2023-03-16 11:44:55 -04:00

34 lines
756 B
YAML

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