* add doxygen
* add flex and python on linux
* cleanup test

---------

Co-authored-by: Max Howell <mxcl@me.com>
This commit is contained in:
Marc Seitz 2023-03-16 16:44:55 +01:00 committed by GitHub
parent 99cfa3a0de
commit 035c6ef4f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 1 deletions

View file

@ -0,0 +1,34 @@
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

View file

@ -7,7 +7,8 @@ versions:
strip: /^flex / strip: /^flex /
dependencies: dependencies:
gnu.org/m4: 1 gnu.org/gettext: ^0
gnu.org/m4: ^1
build: build:
dependencies: dependencies: