commit: 62a6132712169e0295402213164a92488d24d894
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 15 18:27:18 2024 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Dec 15 18:27:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62a61327
dev-db/pgrouting: add 3.7.0
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
dev-db/pgrouting/Manifest | 1 +
dev-db/pgrouting/pgrouting-3.7.0.ebuild | 52 +++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/dev-db/pgrouting/Manifest b/dev-db/pgrouting/Manifest
index 98c821f06315..767767fb1f9f 100644
--- a/dev-db/pgrouting/Manifest
+++ b/dev-db/pgrouting/Manifest
@@ -1 +1,2 @@
DIST pgrouting-3.6.2.tar.gz 3873384 BLAKE2B
118d57018d344055e3a7d7daef07f0f8916918b907d7d7dd5d63e22c8df0315089ab6b52f6a70b5dea4390e9f432cec602c798f46557bac2aa69f69e4d5b8555
SHA512
9fe5649d022bc1330d9f70e42a69de45eaed9fce070f58594996516f295a7bc15c099b2c3ee1c25ee4b4f0d839de4c0cc74174972e7f7f0dc5fa4be395d58dd3
+DIST pgrouting-3.7.0.tar.gz 3870824 BLAKE2B
19f5327dd76311e9ec1409c5e77fc59c599f2b22b847fb936f11e891d433fb43629dd2f2223cb923f45f7ebbcdd58cb749076851f3d0a980953e257adc3a3265
SHA512
8ebe82a6c0e6d2974d298fbdb2b3d48304da76395da5459183e8ade56b247e179b606fc3a6ab60478696a0dd9671be20995b1f13beb61df2393d4f36050baf23
diff --git a/dev-db/pgrouting/pgrouting-3.7.0.ebuild
b/dev-db/pgrouting/pgrouting-3.7.0.ebuild
new file mode 100644
index 000000000000..20e088526f62
--- /dev/null
+++ b/dev-db/pgrouting/pgrouting-3.7.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+
+POSTGRES_COMPAT=( {13..16} )
+POSTGRES_USEDEP="server"
+
+inherit cmake postgres-multi
+
+DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing
functionality"
+HOMEPAGE="https://pgrouting.org/"
+LICENSE="GPL-2 MIT Boost-1.0"
+
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+IUSE=""
+
+RDEPEND="${POSTGRES_DEP}
+ >=dev-db/postgis-2.0
+ dev-libs/boost
+ sci-mathematics/cgal
+"
+
+DEPEND="${RDEPEND}"
+# Needs a running psql instance, doesn't work out of the box
+RESTRICT="test"
+
+src_prepare() {
+ cmake_src_prepare
+ postgres-multi_src_prepare
+}
+
+my_src_configure() {
+ local mycmakeargs=( -DPOSTGRESQL_BIN="$($PG_CONFIG --bindir)" )
+ cmake_src_configure
+}
+
+src_configure() {
+ postgres-multi_foreach my_src_configure
+}
+
+src_compile() {
+ postgres-multi_foreach cmake_build
+}
+
+src_install() {
+ postgres-multi_foreach cmake_src_install
+}