aboutsummaryrefslogtreecommitdiff
path: root/package/libspatialindex
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2017-06-12 22:53:59 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-12 23:43:41 +0200
commit1a5887eb6eabfddf7483f8bdbb898ea37184ac10 (patch)
tree10587464ed5404f5f29a4a98949d48d59e4d2ab8 /package/libspatialindex
parent31ad7876d253bf9f53c3be97e51ee5562d84c56e (diff)
downloadbuildroot-1a5887eb6eabfddf7483f8bdbb898ea37184ac10.tar.gz
buildroot-1a5887eb6eabfddf7483f8bdbb898ea37184ac10.tar.bz2
package/libspatialindex: new package
Signed-off-by: Romain Naour <romain.naour@gmail.com> Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libspatialindex')
-rw-r--r--package/libspatialindex/Config.in30
-rw-r--r--package/libspatialindex/libspatialindex.hash4
-rw-r--r--package/libspatialindex/libspatialindex.mk14
3 files changed, 48 insertions, 0 deletions
diff --git a/package/libspatialindex/Config.in b/package/libspatialindex/Config.in
new file mode 100644
index 0000000000..0d066f6417
--- /dev/null
+++ b/package/libspatialindex/Config.in
@@ -0,0 +1,30 @@
+config BR2_PACKAGE_LIBSPATIALINDEX
+ bool "libspatialindex"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ The purpose of libspatialindex is to provide:
+
+ * An extensible framework that will support robust spatial
+ indexing methods.
+
+ * Support for sophisticated spatial queries. Range, point
+ location, nearest neighbor and k-nearest neighbor as well
+ as parametric queries (defined by spatial constraints)
+ should be easy to deploy and run.
+
+ * Easy to use interfaces for inserting, deleting and updating
+ information.
+
+ * Wide variety of customization capabilities. Basic index and
+ storage characteristics like the page size, node capacity,
+ minimum fan-out, splitting algorithm, etc. should be easy
+ to customize.
+
+ * Index persistence. Internal memory and external memory
+ structures should be supported. Clustered and non-clustered
+ indices should be easy to be persisted.
+
+ https://libspatialindex.github.io
+
+comment "libspatialindex needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libspatialindex/libspatialindex.hash b/package/libspatialindex/libspatialindex.hash
new file mode 100644
index 0000000000..3aa636d353
--- /dev/null
+++ b/package/libspatialindex/libspatialindex.hash
@@ -0,0 +1,4 @@
+# From http://download.osgeo.org/libspatialindex/spatialindex-src-1.8.5.tar.bz2.md5
+md5 3303c47fd85aa17e64ef52ebec212762 spatialindex-src-1.8.5.tar.bz2
+# Locally computed
+sha256 31ec0a9305c3bd6b4ad60a5261cba5402366dd7d1969a8846099717778e9a50a spatialindex-src-1.8.5.tar.bz2
diff --git a/package/libspatialindex/libspatialindex.mk b/package/libspatialindex/libspatialindex.mk
new file mode 100644
index 0000000000..d815364442
--- /dev/null
+++ b/package/libspatialindex/libspatialindex.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# libspatialindex
+#
+################################################################################
+
+LIBSPATIALINDEX_VERSION = 1.8.5
+LIBSPATIALINDEX_SITE = http://download.osgeo.org/libspatialindex
+LIBSPATIALINDEX_SOURCE = spatialindex-src-$(LIBSPATIALINDEX_VERSION).tar.bz2
+LIBSPATIALINDEX_INSTALL_STAGING = YES
+LIBSPATIALINDEX_LICENSE = MIT
+LIBSPATIALINDEX_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))