libspatialite: add package

This commit is contained in:
Henrik Grimler 2021-02-16 08:10:11 +01:00
parent 0154a605a3
commit db6492231a
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,15 @@
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.0.1
TERMUX_PKG_SRCURL=https://www.gaia-gis.it/gaia-sins/libspatialite-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=eecbc94311c78012d059ebc0fae86ea5ef6eecb13303e6e82b3753c1b3409e98
TERMUX_PKG_DEPENDS="libgeos, proj, libfreexl, libsqlite, libxml2, librttopo"
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"
}

View File

@ -0,0 +1,15 @@
--- ../Makefile.in.orig 2021-02-16 06:59:25.596423632 +0000
+++ ./src/Makefile.in 2021-02-16 06:59:45.903064002 +0000
@@ -90,10 +90,10 @@
host_triplet = @host@
@MINGW_TRUE@am__append_1 = -lm
@ANDROID_TRUE@@MINGW_FALSE@am__append_2 = -ldl -lm
-@ANDROID_FALSE@@MINGW_FALSE@am__append_3 = -lpthread -ldl -lm
+@ANDROID_FALSE@@MINGW_FALSE@am__append_3 = -ldl -lm
@MINGW_TRUE@am__append_4 = -lm
@ANDROID_TRUE@@MINGW_FALSE@am__append_5 = -ldl -lm
-@ANDROID_FALSE@@MINGW_FALSE@am__append_6 = -lpthread -ldl -lm
+@ANDROID_FALSE@@MINGW_FALSE@am__append_6 = -ldl -lm
subdir = src
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \