commit:     05acddeb331e447867e49b8ad09aeb8a91d5726d
Author:     hasufell <hasufell <AT> hasufell <DOT> de>
AuthorDate: Wed Jan 14 15:44:26 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jan 14 15:44:26 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=05acddeb

sci-libs/libspatialindex: version bump to 1.8.5

---
 .../files/libspatialindex-1.8.1-QA.patch           | 15 +++++++++
 .../libspatialindex/libspatialindex-1.8.5.ebuild   | 37 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/sci-libs/libspatialindex/files/libspatialindex-1.8.1-QA.patch 
b/sci-libs/libspatialindex/files/libspatialindex-1.8.1-QA.patch
new file mode 100644
index 0000000..446452d
--- /dev/null
+++ b/sci-libs/libspatialindex/files/libspatialindex-1.8.1-QA.patch
@@ -0,0 +1,15 @@
+--- spatialindex-src-1.8.0/configure.ac
++++ spatialindex-src-1.8.0/configure.ac
+@@ -49,10 +49,10 @@
+ AC_ARG_ENABLE(debug, [  --enable-debug=[no/yes] turn on debugging 
[default=$debug_default]],, enable_debug=$debug_default)
+ 
+ if test "x$enable_debug" = "xyes"; then
+-      CXXFLAGS="$CXXFLAGS -g -DDEBUG"
++      CXXFLAGS="$CXXFLAGS -DDEBUG"
+       AC_MSG_RESULT(checking wether debug information is enabled... yes)
+ else
+-      CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
++      CXXFLAGS="$CXXFLAGS -DNDEBUG"
+       AC_MSG_RESULT(checking wether debug information is enabled... no)
+ fi
+ 

diff --git a/sci-libs/libspatialindex/libspatialindex-1.8.5.ebuild 
b/sci-libs/libspatialindex/libspatialindex-1.8.5.ebuild
new file mode 100644
index 0000000..e672593
--- /dev/null
+++ b/sci-libs/libspatialindex/libspatialindex-1.8.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2014 Julian Ospald <hasuf...@posteo.de>
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit autotools eutils
+
+MY_PN="spatialindex-src"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="General framework for developing spatial indices"
+HOMEPAGE="http://libspatialindex.github.com/";
+SRC_URI="http://download.osgeo.org/libspatialindex/${MY_P}.tar.bz2";
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0/4"
+IUSE="debug static-libs"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-1.8.1-QA.patch
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               $(use_enable static-libs static) \
+               $(use_enable debug)
+}
+
+src_install() {
+       default
+       use static-libs || prune_libtool_files
+}

Reply via email to