kumquat-buildroot/package/libspatialindex/libspatialindex.mk
Fabrice Fontaine 81bd89f044 package/libspatialindex: bump to version 1.9.3
- Drop patch (already in version)
- Update indentation in hash file (two spaces)
- Add upstream to allow building static library

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-04-22 22:52:24 +02:00

25 lines
785 B
Makefile

################################################################################
#
# libspatialindex
#
################################################################################
LIBSPATIALINDEX_VERSION = 1.9.3
LIBSPATIALINDEX_SITE = \
https://github.com/libspatialindex/libspatialindex/releases/download/$(LIBSPATIALINDEX_VERSION)
LIBSPATIALINDEX_SOURCE = spatialindex-src-$(LIBSPATIALINDEX_VERSION).tar.bz2
LIBSPATIALINDEX_INSTALL_STAGING = YES
LIBSPATIALINDEX_LICENSE = MIT
LIBSPATIALINDEX_LICENSE_FILES = COPYING
LIBSPATIALINDEX_CXXFLAGS = $(TARGET_CXXFLAGS)
LIBSPATIALINDEX_CONF_OPTS = \
-DSIDX_BUILD_TESTS=OFF \
-DCMAKE_CXX_FLAGS="$(LIBSPATIALINDEX_CXXFLAGS)"
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
LIBSPATIALINDEX_CXXFLAGS += -O0
endif
$(eval $(cmake-package))