summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2022-05-08 09:58:20 -0700
committerSam James <sam@gentoo.org>2022-05-09 19:24:18 +0000
commite80a8b26f86d40e20fe0b662271ee369cf9e9df2 (patch)
treecb793c8790239b50f9ccf5b11fc5d0002c95a9b3 /sci-geosciences/congen
parentdev-util/maxcso: fix IncorrectCopyright (diff)
downloadgentoo-e80a8b26f86d40e20fe0b662271ee369cf9e9df2.tar.gz
gentoo-e80a8b26f86d40e20fe0b662271ee369cf9e9df2.tar.bz2
gentoo-e80a8b26f86d40e20fe0b662271ee369cf9e9df2.zip
sci-geosciences/congen: Updated for version 1.7
Bug: https://bugs.gentoo.org/789615 Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25389 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-geosciences/congen')
-rw-r--r--sci-geosciences/congen/Manifest1
-rw-r--r--sci-geosciences/congen/congen-1.7.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/sci-geosciences/congen/Manifest b/sci-geosciences/congen/Manifest
index 25ee3be52114..4be917eebc53 100644
--- a/sci-geosciences/congen/Manifest
+++ b/sci-geosciences/congen/Manifest
@@ -1 +1,2 @@
DIST congen-1.6.2.tar.bz2 293130 BLAKE2B 3879e5e04fe260fc65b1852a6ece347b7ea0dc7c846ca788f448c4b0af4ce7af1efe8e398727da243a76b1bd5a52632f308ec626ac708141a163159fb2065164 SHA512 21cabdf0fba8cfa8e72068db44e6db0288ce932f81f526f04421272550244de9c617dc12d2c162186cbb9f70d9a44aca48b6f132317fc2fa3c47860d2f58bad6
+DIST congen-1.7.tar.xz 263496 BLAKE2B 0b17d2ef917d088ec179d18dfea7ebec52293f77fdf3e650bdf06a243a739d31db35145d78bff187c9509dfd020c4297cb88b18d5b982edebc064b5790a70a7c SHA512 a98311e410e928a0072c0fd8724f2f67b256e3e2116070cc538c22ac6cc203d9a9b7a7584a32c862ae51f9c06fab5abdfc6cddfcd10d6b18f1bd05d09fdc5dc8
diff --git a/sci-geosciences/congen/congen-1.7.ebuild b/sci-geosciences/congen/congen-1.7.ebuild
new file mode 100644
index 000000000000..2059b79c6641
--- /dev/null
+++ b/sci-geosciences/congen/congen-1.7.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Calculate speeds, equilibrium arguments, node factors of tidal constituents"
+HOMEPAGE="http://www.flaterco.com/xtide/files.html"
+SRC_URI="https://flaterco.com/files/xtide/${P}-r2.tar.xz -> ${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND=">=sci-geosciences/libtcd-2.2.3"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ if ! use static-libs; then
+ find "${ED}" -name '*.la' -delete || die
+ fi
+}