0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-31 21:22:27 +00:00
Fredrik Fornwall 736a77c587 fix(main/libgts): Fix undefined symbols
Fix the following build error:

> ERROR: ./lib/libgts-0.7.so.5.0.1 contains undefined symbols:
>    32: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT   UND atan2
>    64: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT   UND sincos
>    67: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT   UND cos
>    77: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT   UND log
>    78: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT   UND exp
2024-05-16 13:42:05 +02:00

18 lines
705 B
Bash

TERMUX_PKG_HOMEPAGE=https://gts.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Provides useful functions to deal with 3D surfaces meshed with interconnected triangles"
TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.7.6
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/gts/gts/${TERMUX_PKG_VERSION}/gts-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=059c3e13e3e3b796d775ec9f96abdce8f2b3b5144df8514eda0cc12e13e8b81e
TERMUX_PKG_DEPENDS="glib"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_HOSTBUILD=true
termux_step_host_build() {
# predicates_init executable generates predicates_init.h
$TERMUX_PKG_SRCDIR/configure
make -C src predicates_init
}