aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorPete Gadomski2010-03-22 21:50:27 -0700
committerDavid Höppner2010-03-24 10:59:52 +0100
commitd154a599e84c75ea3707d6dfc2d816c574b236b5 (patch)
tree62c0ade4f1be07ce8f089f1bf976796977201e79 /Library/Formula
parent0a7adcc2da75760381c664771e17bcbc930ac3a1 (diff)
downloadhomebrew-d154a599e84c75ea3707d6dfc2d816c574b236b5.tar.bz2
New formula: spatialindex
This package provides a general framework for developing spatial indices. Currently it defines generic interfaces, provides simple main memory and disk based storage managers and a robust implementation of an R*-tree, an MVR-tree and a TPR-tree. In addition, the library includes a 3-dimensional R-tree visualization plug-in (example image below; requires Java3D runtime). http://trac.gispython.org/spatialindex/ Signed-off-by: Pete Gadomski <pete.gadomski@gmail.com> Signed-off-by: David Höppner <0xffea@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/spatialindex.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/spatialindex.rb b/Library/Formula/spatialindex.rb
new file mode 100644
index 000000000..cca079b2c
--- /dev/null
+++ b/Library/Formula/spatialindex.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Spatialindex <Formula
+ url 'http://download.osgeo.org/libspatialindex/spatialindex-1.4.0.tar.gz'
+ homepage 'http://trac.gispython.org/spatialindex/'
+ md5 '2cda512ca12c1a0d52172bb7f82a88f0'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug"
+ system "make"
+ system "make install"
+ end
+end