summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-07-16 17:29:18 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-07-16 18:30:49 +0200
commit0df9393624801c147e75a6de4f2f579db482dbeb (patch)
tree3258da2a2ed35ed2a12116eca46526b2e7d30ecf /sci-geosciences
parentdev-ros/libmavconn: Remove old (diff)
downloadgentoo-0df9393624801c147e75a6de4f2f579db482dbeb.tar.gz
gentoo-0df9393624801c147e75a6de4f2f579db482dbeb.tar.bz2
gentoo-0df9393624801c147e75a6de4f2f579db482dbeb.zip
sci-geosciences/GeographicLib: initial import
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/GeographicLib/GeographicLib-1.50.1.ebuild31
-rw-r--r--sci-geosciences/GeographicLib/Manifest1
-rw-r--r--sci-geosciences/GeographicLib/metadata.xml8
3 files changed, 40 insertions, 0 deletions
diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.50.1.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.50.1.ebuild
new file mode 100644
index 000000000000..65db138fee55
--- /dev/null
+++ b/sci-geosciences/GeographicLib/GeographicLib-1.50.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 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
new file mode 100644
index 000000000000..8e8427cb5783
--- /dev/null
+++ b/sci-geosciences/GeographicLib/Manifest
@@ -0,0 +1 @@
+DIST GeographicLib-1.50.1.tar.gz 2463854 BLAKE2B bed7d003dee92e794af993d8fef6cbf1233f9e3f37f53dd6026f16a237dba46bb4d4e2db7adea7931b632bb419288c9731c79cf65f15a4f35e95e8ada34a8f42 SHA512 1db874f30957a0edb8a1df3eee6db73cc993629e3005fe912e317a4ba908e7d7580ce483bb0054c4b46370b8edaec989609fb7e4eb6ba00c80182db43db436f1
diff --git a/sci-geosciences/GeographicLib/metadata.xml b/sci-geosciences/GeographicLib/metadata.xml
new file mode 100644
index 000000000000..74ced8bea005
--- /dev/null
+++ b/sci-geosciences/GeographicLib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ros@gentoo.org</email>
+ <name>Gentoo ROS Project</name>
+ </maintainer>
+</pkgmetadata>