add doxygen

This commit is contained in:
Hax4us 2018-08-25 11:35:19 +05:30 committed by Fredrik Fornwall
parent 7bac02cef6
commit 35c334e0e4
2 changed files with 22 additions and 0 deletions

11
packages/doxygen/build.sh Normal file
View File

@ -0,0 +1,11 @@
TERMUX_PKG_HOMEPAGE=http://www.doxygen.org
TERMUX_PKG_DESCRIPTION="A documentation system for C++, C, Java, IDL and PHP"
TERMUX_PKG_VERSION=1.8.14
TERMUX_PKG_MAINTAINER="lokesh @hax4us"
TERMUX_PKG_SHA256=d1757e02755ef6f56fd45f1f4398598b920381948d6fcfa58f5ca6aa56f59d4d
TERMUX_PKG_SRCURL=http://ftp.stack.nl/pub/doxygen/doxygen-${TERMUX_PKG_VERSION}.src.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DCMAKE_BUILD_TYPE=Release -Dbuild_parse=yes -Dbuild_xmlparser=yes"
termux_step_post_make_install () {
mkdir -p $TERMUX_PREFIX/share/man/man1
cp $TERMUX_PKG_SRCDIR/doc/doxygen.1 $TERMUX_PREFIX/share/man/man1
}

View File

@ -0,0 +1,11 @@
--- doxygen-1.8.14/addon/doxyparse/doxyparse.cpp 2017-12-24 15:50:24.000000000 +0530
+++ doxyparse.cpp 2018-08-22 12:02:22.141000002 +0530
@@ -367,7 +367,7 @@
// we need a place to put intermediate files
std::ostringstream tmpdir;
- tmpdir << "/tmp/doxyparse-" << getpid();
+ tmpdir << "@TERMUX_PREFIX@/tmp/doxyparse-" << getpid();
Config_getString(OUTPUT_DIRECTORY)= tmpdir.str().c_str();
// enable HTML (fake) output to omit warning about missing output format
Config_getBool(GENERATE_HTML)=TRUE;