2007-12-12 12:57:13 +01:00
|
|
|
# Description: Source code documentation generator tool
|
2020-08-21 15:24:01 +00:00
|
|
|
# URL: https://www.doxygen.nl/
|
2018-02-17 17:25:03 +01:00
|
|
|
# Maintainer: Jan-Michael Franz, jmf at mesecons dot net
|
2020-08-21 15:24:01 +00:00
|
|
|
# Depends on: cmake python3
|
2007-12-12 12:57:13 +01:00
|
|
|
|
2020-08-21 15:24:01 +00:00
|
|
|
name=doxygen
|
2021-01-09 14:21:28 +00:00
|
|
|
version=1.9.1
|
2015-12-12 17:42:50 +01:00
|
|
|
release=1
|
2020-08-21 15:24:01 +00:00
|
|
|
source=(https://doxygen.nl/files/$name-$version.src.tar.gz)
|
2007-12-12 12:57:13 +01:00
|
|
|
|
|
|
|
build() {
|
2020-11-08 10:58:20 +00:00
|
|
|
[[ -e /usr/bin/ninja ]] && PKGMK_DOXYGEN+=' -G Ninja'
|
|
|
|
cmake -S $name-$version -B build $PKGMK_DOXYGEN \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
2020-12-06 23:51:29 +00:00
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
2020-11-08 10:58:20 +00:00
|
|
|
-Wno-dev
|
2020-08-21 15:24:01 +00:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
install -D -m 0755 $SRC/$name-$version/doc/$name.1 $PKG/usr/share/man/man1/$name.1
|
2007-12-12 12:57:13 +01:00
|
|
|
}
|