23 lines
703 B
Plaintext
23 lines
703 B
Plaintext
# Description: Source code documentation generator tool
|
|
# URL: https://www.doxygen.nl/
|
|
# Maintainer: Jan-Michael Franz, jmf at mesecons dot net
|
|
# Depends on: cmake python3
|
|
|
|
name=doxygen
|
|
version=1.9.1
|
|
release=1
|
|
source=(https://doxygen.nl/files/$name-$version.src.tar.gz)
|
|
|
|
build() {
|
|
[[ -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 \
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
|
-Wno-dev
|
|
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
|
|
}
|