TERMUX_PKG_HOMEPAGE="https://github.com/bulletphysics/bullet3"
TERMUX_PKG_DESCRIPTION="SDK for real-time collision detection and multi-physics simulation for robotics, VR, etc"
TERMUX_PKG_GROUPS="science"
TERMUX_PKG_LICENSE="ZLIB"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=3.25
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL="https://github.com/bulletphysics/bullet3/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=c45afb6399e3f68036ddb641c6bf6f552bf332d5ab6be62f7e6c54eda05ceb77
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
-DBUILD_SHARED_LIBS=ON
-DINSTALL_LIBS=ON
-DBUILD_BULLET3=ON
-DUSE_DOUBLE_PRECISION=OFF
-DBUILD_PYBULLET=OFF
-DBUILD_BULLET2_DEMOS=OFF
-DBUILD_CPU_DEMOS=OFF
-DUSE_GLUT=OFF
-DBT_USE_EGL=OFF
-DUSE_GRAPHICAL_BENCHMARK=OFF
-DBUILD_EXTRAS=OFF
-DBUILD_UNIT_TESTS=OFF
"
