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/
|
2021-05-01 17:46:29 +02:00
|
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
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() {
|
2021-05-01 17:46:29 +02:00
|
|
|
prt-get isinst ninja && PKGMK_DOXYGEN+=' -G Ninja'
|
2020-11-08 10:58:20 +00:00
|
|
|
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
|
|
|
}
|
2021-05-01 17:46:29 +02:00
|
|
|
|
|
|
|
# s-sh-mode
|