summaryrefslogtreecommitdiff
path: root/pcr/spatialindex
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-15 18:51:48 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-15 18:51:48 -0300
commit2c33b6fa89ccd00a73f94c58eead90728f4fc58c (patch)
tree746f6f4cc6e99a213b9299c301b5de56df8000a4 /pcr/spatialindex
parent21c8faf33d1696a91f54ad1093b0f3f87133cd3a (diff)
parent4d0c1c6db5bf50ebb518f78ca638863681f32d2b (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/spatialindex')
-rw-r--r--pcr/spatialindex/LICENSE9
-rw-r--r--pcr/spatialindex/PKGBUILD34
2 files changed, 43 insertions, 0 deletions
diff --git a/pcr/spatialindex/LICENSE b/pcr/spatialindex/LICENSE
new file mode 100644
index 000000000..888f4e789
--- /dev/null
+++ b/pcr/spatialindex/LICENSE
@@ -0,0 +1,9 @@
+Permission is hereby granted, free of charge, to any person obtaining acopy of this software and associated documentation files (the "Software"),to deal in the Software without restriction, including without limitationthe rights to use, copy, modify, merge, publish, distribute, sublicense,and/or sell copies of the Software, and to permit persons to whom theSoftware is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
diff --git a/pcr/spatialindex/PKGBUILD b/pcr/spatialindex/PKGBUILD
new file mode 100644
index 000000000..ac2e1122e
--- /dev/null
+++ b/pcr/spatialindex/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Lantald <lantald at Gmx dot com>
+pkgname=spatialindex
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="An extensible framework that supports robust spatial indexing methods and sophisticated spatial queries."
+arch=('i686' 'x86_64')
+url="http://libspatialindex.github.com/"
+license=('MIT')
+depends=(gcc-libs)
+provides=(spatialindex)
+conflicts=(libspatialindex-git)
+source=("http://download.osgeo.org/libspatialindex/$pkgname-src-$pkgver.tar.gz"
+ 'LICENSE')
+md5sums=('aa78e2c641c472df257f49cd140669c4'
+ '6a9a7d8158edbf1529ca46aae5a76752')
+
+build() {
+ cd "$srcdir/$pkgname-src-$pkgver/"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-src-$pkgver/"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-src-$pkgver/"
+ make DESTDIR="$pkgdir/" install
+ install -D -m644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: