summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild31
-rw-r--r--sci-geosciences/GeographicLib/Manifest1
2 files changed, 32 insertions, 0 deletions
diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild
new file mode 100644
index 000000000000..3721cff16459
--- /dev/null
+++ b/sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="C++ classes for performing conversions between geographic coordinates"
+HOMEPAGE="https://geographiclib.sourceforge.io/"
+SRC_URI="mirror://sourceforge/geographiclib/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/19"
+KEYWORDS="~amd64 ~arm"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND="
+ doc? ( >=app-doc/doxygen-1.8.7 )
+"
+
+src_configure() {
+ econf \
+ --disable-static
+ # Automagic deps..
+ sed -e "s/SUBDIRS =.*$/SUBDIRS = src man tools $(usex doc doc "") include cmake/" -i Makefile || die
+}
+
+src_install() {
+ default
+ find "${D}" -name "*.la" -delete || die
+}
diff --git a/sci-geosciences/GeographicLib/Manifest b/sci-geosciences/GeographicLib/Manifest
index 8e8427cb5783..0d81676b1281 100644
--- a/sci-geosciences/GeographicLib/Manifest
+++ b/sci-geosciences/GeographicLib/Manifest
@@ -1 +1,2 @@
DIST GeographicLib-1.50.1.tar.gz 2463854 BLAKE2B bed7d003dee92e794af993d8fef6cbf1233f9e3f37f53dd6026f16a237dba46bb4d4e2db7adea7931b632bb419288c9731c79cf65f15a4f35e95e8ada34a8f42 SHA512 1db874f30957a0edb8a1df3eee6db73cc993629e3005fe912e317a4ba908e7d7580ce483bb0054c4b46370b8edaec989609fb7e4eb6ba00c80182db43db436f1
+DIST GeographicLib-1.51.tar.gz 2470362 BLAKE2B 5e0a0f44d3b0c62ed7e28285b240cab07a7592e5bf4b181c25b62d8462bb7e2c21f6fcb09577c5f766578803c4b303fdb69af006d3ae62a8b5cb80e92b76236f SHA512 34487a09fa94a34d24179cfe9fd2e5fdda28675966703ca137cbfe6cc88760c2fbde55f76c464de060b58bfe0a516e22c0f59318cf85ae7cc01c5c6a73dd6ead