2021-11-24 12:09:54 +00:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/s-yata/marisa-trie
|
2022-07-11 09:44:23 +00:00
|
|
|
TERMUX_PKG_DESCRIPTION="Matching Algorithm with Recursively Implemented StorAge"
|
2021-11-24 12:09:54 +00:00
|
|
|
TERMUX_PKG_LICENSE="BSD 2-Clause, LGPL-2.1"
|
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
|
|
TERMUX_PKG_VERSION=0.2.6
|
2022-10-15 15:15:12 +00:00
|
|
|
TERMUX_PKG_REVISION=1
|
2021-11-24 12:09:54 +00:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/s-yata/marisa-trie/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=1063a27c789e75afa2ee6f1716cc6a5486631dcfcb7f4d56d6485d2462e566de
|
2022-11-08 13:28:02 +00:00
|
|
|
TERMUX_PKG_DEPENDS="libc++"
|
2021-11-24 12:09:54 +00:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2022-10-15 15:15:12 +00:00
|
|
|
# fix arm build and potentially other archs hidden bugs
|
|
|
|
# ERROR: lib/libmarisa.so contains undefined symbols:
|
|
|
|
# 39: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_uidiv
|
|
|
|
# 40: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_idiv
|
|
|
|
# 49: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_idivmod
|
|
|
|
LDFLAGS+=" $($CC -print-libgcc-file-name)"
|
2021-11-24 12:09:54 +00:00
|
|
|
autoreconf -fi
|
|
|
|
}
|