summaryrefslogtreecommitdiff
path: root/sci-libs/geos
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/geos')
-rw-r--r--sci-libs/geos/Manifest12
-rw-r--r--sci-libs/geos/files/3.4.2-solaris-isnan.patch14
-rw-r--r--sci-libs/geos/files/geos-3.5.0-autoconf-detect-isnan.patch25
-rw-r--r--sci-libs/geos/files/geos-3.5.0-phpconfig-path.patch29
-rw-r--r--sci-libs/geos/files/geos-3.5.0-std-isnan.patch26
-rw-r--r--sci-libs/geos/geos-3.5.0-r2.ebuild135
-rw-r--r--sci-libs/geos/geos-3.5.0.ebuild58
-rw-r--r--sci-libs/geos/geos-3.6.1.ebuild59
-rw-r--r--sci-libs/geos/metadata.xml21
9 files changed, 379 insertions, 0 deletions
diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest
new file mode 100644
index 000000000000..d33ac62d91e8
--- /dev/null
+++ b/sci-libs/geos/Manifest
@@ -0,0 +1,12 @@
+AUX 3.4.2-solaris-isnan.patch 575 SHA256 88221c77c0ab08a4c000cede7528ebacc6ec1535ca00a9bcb0a01f11853cad39 SHA512 efa2730f178814e8d98318347e7a8313327679a5c861ef2a844ce821c5854f4dd56e0cc2c52fa5866fb4214b0d9aa8614b1f1ebaa62f0427e69221a93106aa45 WHIRLPOOL bab6b200b942bb83d8a9a298f9c658b48a35b4abd308c6eb77f43359424de029fe2387ab74030b2a5b440a38202e300b0971895535d11b3a8b9158ecf9fc4b42
+AUX geos-3.5.0-autoconf-detect-isnan.patch 743 SHA256 b436c8540c9fa5b517f1fa97b6611fafef44ce03cee115d47d934e19190538cb SHA512 319b853ae42a9ba5ead8854dc2e4005ab1bc644f71f1f05fdbc469e2179a63653226423be0623dcb4499c58a9b1831b2ae7f8f3e8026e1ebe60cc1dde86c8288 WHIRLPOOL d660d6f3cc21a1a1eade93adfef8fef5b9249e420583e33eb8f92807692c2f73a169e40b1418641702797f2dba0de210d49396cb9001b4d5d4bb457db42ca311
+AUX geos-3.5.0-phpconfig-path.patch 1199 SHA256 82f128367477f66d88b9cfb0989d60e18097e82fece4478661c628b05e749bd2 SHA512 7b8b70904b86ad5b677cf3ea43d31e89fcf4bfeab429c8d71e6a96924f1500684c992e3a23dd4b993c9d36e6aa50c38158526c6a78e5e802968b795efcbc9c54 WHIRLPOOL af51b47ce428b43e3fa1dd22daab6d5083a084fd73560d4f2b6241106f84ac115c2de1009a9b209013e60c6aa4205d620c8546dd22e0d0d5b6ee017ee8e4e7cd
+AUX geos-3.5.0-std-isnan.patch 799 SHA256 c09fa85543e55ea401994bbeb1863224702a3f891aac0d5d35edfed649d045bf SHA512 786fd52721378481bed7d040d4e3f7ab4be3090982e82839f8993ea63d09ff03ec5df9edb776da0afb43a94c745a52af34517cc264b47f1f57278292bc65e1dc WHIRLPOOL 6d40855746f3a078e76ef48f95e5bbbe1b2b8c48804968059f2595cad25f8f2467b18c70f4339b444df6c168acb290a25d3a137bd10baf575b39ffd5fc2b34ac
+DIST geos-3.5.0.tar.bz2 1949397 SHA256 49982b23bcfa64a53333dab136b82e25354edeb806e5a2e2f5b8aa98b1d0ae02 SHA512 cd9c008c19213eb90959f950b03958e6abd9c22d83e6eb5f5a9020263ad8b0045dd5c5af60417c548fc130a57756ae1ef706710086cc277498b9ba6a0a6256b7 WHIRLPOOL f7530e1dc6b99b4ad83d9a01c44b8e6256e118f7615a473d666b00549296df00ca3c86d7ab4d0ae717a3b329b3a9ecac587bc475ee51cbd7e436922860d00ab9
+DIST geos-3.6.1.tar.bz2 1833434 SHA256 4a2e4e3a7a09a7cfda3211d0f4a235d9fd3176ddf64bd8db14b4ead266189fc5 SHA512 8b28e7706567375ca02ae5f5dbebf0870e8fed8ea430596a3637e5c975e72bc0f3c16c31b052f154042dd029c54130325a8d44de95c3458f5da024a97d3cfaf9 WHIRLPOOL bda0bb3b77c7c815e0be613f9af8f544fa4410029033851564bc83a912d5d7bfabaeb5d8d3dc61ebebfb482bdc64ea3cc09b395041b22cf419662beafdfec073
+EBUILD geos-3.5.0-r2.ebuild 3242 SHA256 5a320a59c5040ef7a392cd73b28a7a5596d2337e68ffc7cae0f0e54907a9d5ab SHA512 4f02a441d70c0d9e5aedd880acfe1ccb6a58d83ff2bbae5b0b3e2ed1a748c002849745f8ab13720932daf64029d2436a8ba7b760ce0821fc4e6541b1bdfb15dc WHIRLPOOL 6db7d79360d52e39341c9c9790ef9b96aa72cf6b5bb5518e089ae897d1b25514331bc161611bbbcf3c2c0582a4d3231b91cfb5a1de979bdb967d10035af1ae24
+EBUILD geos-3.5.0.ebuild 1368 SHA256 87d56fb001bc57043fd67852c1e25328f178141b76c5f32142b253cb7897d501 SHA512 24854d33d0d1b86d47c7bc59e46a1f528298bd200de87fa49eafe514f3f2b6791f3e689f60acf8a106fd6fcbebb0852e6c60da1f42fceeb86e14208297247b92 WHIRLPOOL fd8d186254a11086ea8a55d86f666ab046bf4533464c12a547bc56b5b86d9f1e7ee8dbaac04d403868a7ad48c2b2b7a72dae2829f8569c3fe384d1fef5efaf02
+EBUILD geos-3.6.1.ebuild 1326 SHA256 fa599d3ded7e10ecf1ff2e2f7c9efda3fa03aaf6a5dde06e40f9f0655edc0b48 SHA512 98a71dde912af00e31687741a6d327f3a03a69c659a02b9b98ff554dfb8c6765518ff139d40f5c890a033079410072c6a6d4ff09e8825e69f83efad2f89f80a0 WHIRLPOOL 83c1d2f0769908736fe2c52e59462427a812d42ef658747090c0f9f468cb597e5b44045e134e1da1cb249d6a27be5d2f0718fc417f5d12581192b4c8cb2e120e
+MISC ChangeLog 5536 SHA256 24394cccb5cf4cc855812942aa678ebf010b9fac0a8b093c7e4e3c2363b3971c SHA512 0dbe752169b32d4a9b7d2e756e428fc27b0f9d655e20b8efcf3c55f8d65ab8c479504f76360497cfd6e850d96a1190d52c9a5d3830af61513346dd4f46954609 WHIRLPOOL a06545757cc8103cae0ff70d8b605baff2899f16dd07acf9e6f883f61479165e66a6f1fde76653d688e8c21728ab76c2718a847971b8b154b2a8aaa0179befa4
+MISC ChangeLog-2015 14068 SHA256 908303607639c8d0e2bde59425a143b0b8404649bc7ad14c3a36371e45503e5e SHA512 0ee366bcf967fab536d68745b08854814c4d8d4264ef561fa5cb3a10dadab0591687bf7407c136b4fe7de7a39068513b3df1a7d220b3057ac38353a364cef010 WHIRLPOOL 3070041c944238d3cfefd61a9b2c21d23e66ac358dedffe5046feb3b61e2f87f79997bcaa8cedc5666e7143a8eae173279b0bdcf8d8f59cabba23ffeb080bb7d
+MISC metadata.xml 941 SHA256 8a7e7a99a417392ddd6d95acc57b5c339f5c511dc48ea984f4a171cfce982489 SHA512 cf93ad12e2e2d23ce6b454ae1032e8362beccd952a0f431780467c2985c07fa284edcb10a5d7b61d098a70c097f091a7f771be5a1650c1ed431ba249f73e5b1c WHIRLPOOL 08c68f1b72095471e86966fb518da6d6717b9605339c6f60fece23b402e017a7a7160af7bcb73b71d1987e3ea177ddee875bb2920727adc7d096879904c17958
diff --git a/sci-libs/geos/files/3.4.2-solaris-isnan.patch b/sci-libs/geos/files/3.4.2-solaris-isnan.patch
new file mode 100644
index 000000000000..a66d36f6587d
--- /dev/null
+++ b/sci-libs/geos/files/3.4.2-solaris-isnan.patch
@@ -0,0 +1,14 @@
+diff -Naruw geos-3.4.2.orig/include/geos/platform.h.in geos-3.4.2/include/geos/platform.h.in
+--- geos-3.4.2.orig/include/geos/platform.h.in 2013-08-25 15:10:32.000000000 +0000
++++ geos-3.4.2/include/geos/platform.h.in 2013-10-20 23:45:29.891690795 +0000
+@@ -98,8 +98,9 @@
+ // It does leave a version in std.
+ # define ISNAN(x) (std::isnan(x))
+ # elif (defined(__sun) || defined(__sun__)) && defined(__SUNPRO_CC)
++# define _XOPEN_SOURCE 600 //force iso/math_c99
+ # include <math.h>
+-# define ISNAN(x) (::isnan(x))
++# define ISNAN(x) (std::isnan(x))
+ # endif
+ #endif
+
diff --git a/sci-libs/geos/files/geos-3.5.0-autoconf-detect-isnan.patch b/sci-libs/geos/files/geos-3.5.0-autoconf-detect-isnan.patch
new file mode 100644
index 000000000000..79e319da493e
--- /dev/null
+++ b/sci-libs/geos/files/geos-3.5.0-autoconf-detect-isnan.patch
@@ -0,0 +1,25 @@
+From edbeee650287a4a36837e090eafed90a760bad83 Mon Sep 17 00:00:00 2001
+From: Sandro Santilli <strk@keybit.net>
+Date: Mon, 7 Mar 2016 10:21:33 +0000
+Subject: [PATCH] Look for isnan in std:: namespace
+
+Tested with gcc 4.8.4
+
+git-svn-id: http://svn.osgeo.org/geos/trunk@4169 5242fede-7e19-0410-aef8-94bd7d2200fb
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 7fdc579..8976a6a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -197,7 +197,7 @@ dnl of isnan().
+ AC_LANG_PUSH([C++])
+ AC_CACHE_CHECK([for isnan], ac_cv_isnan,
+ [AC_TRY_LINK([#include <cmath>],
+- [double x; int y; y = isnan(x);],
++ [double x; int y; y = std::isnan(x);],
+ ac_cv_isnan=yes,
+ ac_cv_isnan=no
+ )])
diff --git a/sci-libs/geos/files/geos-3.5.0-phpconfig-path.patch b/sci-libs/geos/files/geos-3.5.0-phpconfig-path.patch
new file mode 100644
index 000000000000..b44eb9da9ea1
--- /dev/null
+++ b/sci-libs/geos/files/geos-3.5.0-phpconfig-path.patch
@@ -0,0 +1,29 @@
+diff --git a/php/Makefile.am b/php/Makefile.am
+index 5b50c0f..fad05c0 100644
+--- a/php/Makefile.am
++++ b/php/Makefile.am
+@@ -56,7 +56,7 @@ geos_la_CPPFLAGS = $(AM_CPPFLAGS) \
+ -I$(top_srcdir)/include
+
+ install: all
+- $(INSTALL) -d "$(DESTDIR)"/`$(PHP_CONFIG) --extension-dir`
+- $(INSTALL) -m 755 .libs/geos.so "$(DESTDIR)"/`php-config --extension-dir`
++ $(INSTALL) -d "$(DESTDIR)"`$(PHP_CONFIG) --extension-dir`
++ $(INSTALL) -m 755 .libs/geos.so "$(DESTDIR)"`$(PHP_CONFIG) --extension-dir`
+
+ endif
+diff --git a/php/Makefile.in b/php/Makefile.in
+index d8c343e..9485d0d 100644
+--- a/php/Makefile.in
++++ b/php/Makefile.in
+@@ -877,8 +877,8 @@ uninstall-am: uninstall-pkglibLTLIBRARIES
+
+
+ @ENABLE_PHP_TRUE@install: all
+-@ENABLE_PHP_TRUE@ $(INSTALL) -d "$(DESTDIR)"/`$(PHP_CONFIG) --extension-dir`
+-@ENABLE_PHP_TRUE@ $(INSTALL) -m 755 .libs/geos.so "$(DESTDIR)"/`php-config --extension-dir`
++@ENABLE_PHP_TRUE@ $(INSTALL) -d "$(DESTDIR)"`$(PHP_CONFIG) --extension-dir`
++@ENABLE_PHP_TRUE@ $(INSTALL) -m 755 .libs/geos.so "$(DESTDIR)"`$(PHP_CONFIG) --extension-dir`
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/sci-libs/geos/files/geos-3.5.0-std-isnan.patch b/sci-libs/geos/files/geos-3.5.0-std-isnan.patch
new file mode 100644
index 000000000000..c2b6a996afcd
--- /dev/null
+++ b/sci-libs/geos/files/geos-3.5.0-std-isnan.patch
@@ -0,0 +1,26 @@
+From a9bb3ed34e71f5f9d1d1b0bc3044555a0b3b932c Mon Sep 17 00:00:00 2001
+From: Sandro Santilli <strk@keybit.net>
+Date: Thu, 14 Jul 2016 10:38:35 +0000
+Subject: [PATCH] Fully qualify isnan call when HAVE_ISNAN is defined
+
+Fixes build with GCC-5.3.0 and higher.
+Closes #784
+
+git-svn-id: http://svn.osgeo.org/geos/trunk@4224 5242fede-7e19-0410-aef8-94bd7d2200fb
+---
+ include/geos/platform.h.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/geos/platform.h.in b/include/geos/platform.h.in
+index d8d4558..c3bc9c8 100644
+--- a/include/geos/platform.h.in
++++ b/include/geos/platform.h.in
+@@ -86,7 +86,7 @@ extern "C"
+ #endif
+
+ #if defined(HAVE_ISNAN)
+-# define ISNAN(x) (isnan(x))
++# define ISNAN(x) (std::isnan(x))
+ #else
+ # if defined(_MSC_VER)
+ # define ISNAN(x) _isnan(x)
diff --git a/sci-libs/geos/geos-3.5.0-r2.ebuild b/sci-libs/geos/geos-3.5.0-r2.ebuild
new file mode 100644
index 000000000000..986fa56bbe03
--- /dev/null
+++ b/sci-libs/geos/geos-3.5.0-r2.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+USE_PHP="php5-4 php5-5 php5-6"
+PHP_EXT_NAME="geos"
+PHP_EXT_OPTIONAL_USE="php"
+PHP_EXT_SKIP_PHPIZE="yes"
+
+inherit php-ext-source-r2 autotools eutils python-single-r1
+
+DESCRIPTION="Geometry engine library for Geographic Information Systems"
+HOMEPAGE="http://trac.osgeo.org/geos/"
+SRC_URI="http://download.osgeo.org/geos/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
+IUSE="doc php python ruby static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ ruby? ( dev-lang/ruby:* )
+"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ php? (
+ dev-lang/swig
+ app-admin/chrpath
+ )
+ python? ( dev-lang/swig )
+ ruby? ( dev-lang/swig )
+"
+
+PATCHES=(
+ "${FILESDIR}"/3.4.2-solaris-isnan.patch
+ "${FILESDIR}"/${PN}-3.5.0-std-isnan.patch
+ "${FILESDIR}"/${PN}-3.5.0-autoconf-detect-isnan.patch
+ "${FILESDIR}"/${P}-phpconfig-path.patch
+)
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+# Call default here to override the php-ext-source-r2_src_unpack
+src_unpack() {
+ default
+}
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+ eautoreconf
+ echo "#!${EPREFIX}/bin/bash" > py-compile
+ if use php; then
+ local php_slot
+ for php_slot in $(php_get_slots); do
+ cp -a "${S}" "${WORKDIR}/${php_slot}" || die
+ done
+ fi
+}
+
+src_configure() {
+ # bug 576436 - does not support PHP-7.0
+ local PHP_CONFIG
+ local php_libdir="${EROOT}usr/$(get_libdir)"
+
+ econf \
+ $(use_enable python) \
+ $(use_enable ruby) \
+ --disable-php \
+ $(use_enable static-libs static)
+
+ if use php; then
+ local php_slot
+ for php_slot in $(php_get_slots); do
+ PHP_CONFIG="${php_libdir}/${php_slot}/bin/php-config"
+ [[ -e "${PHP_CONFIG}" ]] && export PHP_CONFIG
+ pushd "${WORKDIR}/${php_slot}" > /dev/null || die
+ econf \
+ --disable-python \
+ --disable-ruby \
+ --enable-php \
+ --disable-static
+ popd > /dev/null || die
+ done
+ fi
+}
+
+src_compile() {
+ emake
+ if use php; then
+ local php_slot
+ for php_slot in $(php_get_slots); do
+ pushd "${WORKDIR}/${php_slot}/php" > /dev/null || die
+ rm -r ../capi || die
+ ln -sfr "${S}/capi" ../capi
+ emake
+ popd > /dev/null || die
+ done
+ fi
+
+ use doc && emake -C "${S}/doc" doxygen-html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ use doc && dohtml -r doc/doxygen_docs/html/*
+ use python && python_optimize "${D}$(python_get_sitedir)"/geos/
+
+ if use php; then
+ local php_slot
+ local libpath
+ local php_libdir="${EROOT}usr/$(get_libdir)"
+
+ for php_slot in $(php_get_slots); do
+ pushd "${WORKDIR}/${php_slot}/php" > /dev/null || die
+ emake DESTDIR="${D}" install
+ popd > /dev/null || die
+ # The libpath will vary by slot as the extension-dir is tied to the API date
+ libpath="lib/extensions/$(${php_libdir}/${php_slot}/bin/php-config --extension-dir | grep -o '[^/]*$')/geos.so"
+ local lib="${D}/usr/$(get_libdir)/${php_slot}/${libpath}"
+ if [[ -e "${lib}" ]]; then
+ chrpath -d ${lib} || die "Failed cleaning RPATH on '${lib}'"
+ fi
+ done
+ fi
+
+ prune_libtool_files
+}
diff --git a/sci-libs/geos/geos-3.5.0.ebuild b/sci-libs/geos/geos-3.5.0.ebuild
new file mode 100644
index 000000000000..60c7caacb525
--- /dev/null
+++ b/sci-libs/geos/geos-3.5.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+inherit autotools eutils python-single-r1
+
+DESCRIPTION="Geometry engine library for Geographic Information Systems"
+HOMEPAGE="http://trac.osgeo.org/geos/"
+SRC_URI="http://download.osgeo.org/geos/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
+IUSE="doc php python ruby static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ php? ( >=dev-lang/php-5.3:* )
+ python? ( ${PYTHON_DEPS} )
+ ruby? ( dev-lang/ruby:* )
+"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ php? ( dev-lang/swig )
+ python? ( dev-lang/swig )
+ ruby? ( dev-lang/swig )
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/3.4.2-solaris-isnan.patch
+ eautoreconf
+ echo "#!${EPREFIX}/bin/bash" > py-compile
+}
+
+src_configure() {
+ econf \
+ $(use_enable python) \
+ $(use_enable ruby) \
+ $(use_enable php) \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ emake
+
+ use doc && emake -C "${S}/doc" doxygen-html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ use doc && dohtml -r doc/doxygen_docs/html/*
+ use python && python_optimize "${D}$(python_get_sitedir)"/geos/
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
diff --git a/sci-libs/geos/geos-3.6.1.ebuild b/sci-libs/geos/geos-3.6.1.ebuild
new file mode 100644
index 000000000000..b6c6daaabed6
--- /dev/null
+++ b/sci-libs/geos/geos-3.6.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="Geometry engine library for Geographic Information Systems"
+HOMEPAGE="http://trac.osgeo.org/geos/"
+SRC_URI="http://download.osgeo.org/geos/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 arm ~arm64 ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
+IUSE="doc python ruby static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ ruby? ( dev-lang/ruby:* )
+"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ python? ( dev-lang/swig:0 )
+ ruby? ( dev-lang/swig:0 )
+"
+
+PATCHES=( "${FILESDIR}"/3.4.2-solaris-isnan.patch )
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ echo "#!${EPREFIX}/bin/bash" > py-compile
+}
+
+src_configure() {
+ econf \
+ $(use_enable python) \
+ $(use_enable ruby) \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+ use doc && emake -C "${S}/doc" doxygen-html
+}
+
+src_install() {
+ use doc && HTML_DOCS=( doc/doxygen_docs/html/. )
+ default
+ use python && python_optimize "${D}$(python_get_sitedir)"/geos/
+
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/sci-libs/geos/metadata.xml b/sci-libs/geos/metadata.xml
new file mode 100644
index 000000000000..ff68ab052ff5
--- /dev/null
+++ b/sci-libs/geos/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-geosciences@gentoo.org</email>
+ <name>Gentoo Geosciences Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>pgsql-bugs@gentoo.org</email>
+ <name>PostgreSQL and Related Package Development</name>
+ </maintainer>
+ <longdescription lang="en">
+ Geometric Engine Open Source provides a spatial object model and
+ fundamental geometric functions. It implements the geometry model
+ defined in the OpenGIS Consortium Simple Features Specification for
+ SQL. Functions provided include: spatial predicates (based on the
+ DE-9IM model), overlay functions (intersection, difference, union,
+ symmetric difference), buffer, convex hull, area and distance
+ functions, and topological validity checking.
+ </longdescription>
+</pkgmetadata>