sci-libs/libspatialindex: bump to EAPI 6, add maintainer-needed
authorAustin English <wizardedit@gentoo.org>
Thu, 7 Jul 2016 21:44:51 +0000 (16:44 -0500)
committerAustin English <wizardedit@gentoo.org>
Thu, 7 Jul 2016 22:50:45 +0000 (17:50 -0500)
Package-Manager: portage-2.2.28

sci-libs/libspatialindex/libspatialindex-1.8.5-r1.ebuild [new file with mode: 0644]
sci-libs/libspatialindex/metadata.xml

diff --git a/sci-libs/libspatialindex/libspatialindex-1.8.5-r1.ebuild b/sci-libs/libspatialindex/libspatialindex-1.8.5-r1.ebuild
new file mode 100644 (file)
index 0000000..3e8d949
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools eutils
+
+MY_PN="spatialindex-src"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="General framework for developing spatial indices"
+HOMEPAGE="https://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}
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.8.1-QA.patch
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               $(use_enable static-libs static) \
+               $(use_enable debug)
+}
+
+src_install() {
+       default
+       use static-libs || prune_libtool_files
+}
index 097975e3adc26aa49b959a01cffb169a88f64eb3..6f49eba8f49693023f393161560b3a2d9e2717c5 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+<!-- maintainer-needed -->
 </pkgmetadata>