pantry/projects/doxygen.nl/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

32 lines
666 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:
github: doxygen/doxygen/releases
strip: /Doxygen release /
build:
dependencies:
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