0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 09:28:54 +00:00
Biswapriyo Nath 3610268cda fix(main/libfcl): add octomap shared library in dependencies
libfcl.so depends on liboctomap.so but the build depends on liboctomath.a static library.

$ readelf -d /home/builder/.termux-build/libfcl/build/lib/libfcl.so | grep octomap
 0x0000000000000001 (NEEDED)             Shared library: [liboctomap.so]
2024-03-23 10:08:40 +08:00

20 lines
803 B
Bash

TERMUX_PKG_HOMEPAGE="https://github.com/flexible-collision-library/fcl"
TERMUX_PKG_DESCRIPTION="Flexible collision library"
TERMUX_PKG_GROUPS="science"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="Pooya Moradi <pvonmoradi@gmail.com>"
TERMUX_PKG_VERSION="0.7.0"
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL="https://github.com/flexible-collision-library/fcl/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=90409e940b24045987506a6b239424a4222e2daf648c86dd146cbcb692ebdcbc
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_FORCE_CMAKE=true
TERMUX_PKG_BUILD_DEPENDS="eigen"
TERMUX_PKG_DEPENDS="libandroid-support, libc++, libccd, octomap"
TERMUX_PKG_BUILD_DEPENDS="octomap-static"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DFCL_STATIC_LIBRARY=OFF
-DFCL_USE_HOST_NATIVE_ARCH=OFF
-DFCL_WITH_OCTOMAP=ON
"