termux-packages/packages/doxygen/build.sh

24 lines
804 B
Bash
Raw Normal View History

2018-08-25 08:05:19 +02:00
TERMUX_PKG_HOMEPAGE=http://www.doxygen.org
TERMUX_PKG_DESCRIPTION="A documentation system for C++, C, Java, IDL and PHP"
2019-01-20 22:39:59 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
2018-08-25 08:05:19 +02:00
TERMUX_PKG_MAINTAINER="lokesh @hax4us"
2018-12-28 10:01:25 +01:00
TERMUX_PKG_VERSION=1.8.15
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=cc5492b3e2d1801ae823c88e0e7a38caee61a42303587e987142fe9b68a43078
TERMUX_PKG_SRCURL=https://github.com/doxygen/doxygen/archive/Release_${TERMUX_PKG_VERSION//./_}.tar.gz
TERMUX_PKG_DEPENDS="libiconv"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
2019-02-12 09:41:30 +01:00
-DBISON_EXECUTABLE=$(which bison)
-DCMAKE_BUILD_TYPE=Release
2019-02-12 09:41:30 +01:00
-DFLEX_EXECUTABLE=$(which flex)
-DPYTHON_EXECUTABLE=$(which python3)
-Dbuild_parse=yes
-Dbuild_xmlparser=yes
"
termux_step_post_make_install() {
2018-08-25 08:05:19 +02:00
mkdir -p $TERMUX_PREFIX/share/man/man1
cp $TERMUX_PKG_SRCDIR/doc/doxygen.1 $TERMUX_PREFIX/share/man/man1
}