0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 00:10:52 +00:00
2023-10-09 16:02:43 +03:00

18 lines
772 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.gaia-gis.it/fossil/libspatialite
TERMUX_PKG_DESCRIPTION="SQLite extension to support spatial data types and operations"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="5.1.0"
TERMUX_PKG_SRCURL=https://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=43be2dd349daffe016dd1400c5d11285828c22fea35ca5109f21f3ed50605080
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libgeos, proj, libfreexl, libsqlite, libxml2, librttopo"
TERMUX_PKG_GROUPS="science"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-minizip"
# Can't find generated config file spatialite/gaiaconfig.h
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
export LDFLAGS+=" -llog"
}