commit:     c61e59ba9a678e3a74136f3ec28273d82d029cfd
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 08:28:18 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Thu Jun 13 08:28:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c61e59ba

dev-db/pgrouting: add 3.6.2

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-db/pgrouting/Manifest               |  1 +
 dev-db/pgrouting/pgrouting-3.6.2.ebuild | 52 +++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-db/pgrouting/Manifest b/dev-db/pgrouting/Manifest
index d87d06d9d225..71de5ad10bf9 100644
--- a/dev-db/pgrouting/Manifest
+++ b/dev-db/pgrouting/Manifest
@@ -1,3 +1,4 @@
 DIST pgrouting-3.2.1.tar.gz 5940439 BLAKE2B 
01f4ec19d4cee9165a5aca946935cf4786a42f943602eca99414b536dec11ffe298f960e11aaa8b747c1b9c1839625ac9d3e7f67f1f606e941c9c738b4970479
 SHA512 
ead51de138950707008a7ea6b1a18cfe4d8b1885bfe92849464c2714e39f8e43ef3dbebd1c68279987a1321705fe33a598efb463078491d52cb90a8d1a0414c7
 DIST pgrouting-3.5.1.tar.gz 3613985 BLAKE2B 
a0af5d730673b8a9555891998f0c2cf7ff429d48efc5170aa59ae05518deb6be6b898d52f4c9bf6cd24422922a9c27329cead3281db8df7d7c6b679cec7484f2
 SHA512 
d29871fc55f8bfa1795816c34483dd8b6a02d24f91b111b5848be8cccc4f04916dc76b99c4bb68ccfcb9c0a745e646ec51e0144a3e09c7fb2d16caabb7a62c40
 DIST pgrouting-3.6.1.tar.gz 3871417 BLAKE2B 
43295bdb949daf736ba04ca0e89f0374ecbb87859ce49f8436f97bac0491aa69fe118426ddfed939163a975299d085187d51bd233051bf79f97bc4500149fdf4
 SHA512 
278d6d89ea49e9a38c6ae8c52936e52ae5a3508e9d8693182efdc15649b44be7208affea236046bbb67ff373831a82e2985087f890b0faa4c96be4fa6c3e07cf
+DIST pgrouting-3.6.2.tar.gz 3873384 BLAKE2B 
118d57018d344055e3a7d7daef07f0f8916918b907d7d7dd5d63e22c8df0315089ab6b52f6a70b5dea4390e9f432cec602c798f46557bac2aa69f69e4d5b8555
 SHA512 
9fe5649d022bc1330d9f70e42a69de45eaed9fce070f58594996516f295a7bc15c099b2c3ee1c25ee4b4f0d839de4c0cc74174972e7f7f0dc5fa4be395d58dd3

diff --git a/dev-db/pgrouting/pgrouting-3.6.2.ebuild 
b/dev-db/pgrouting/pgrouting-3.6.2.ebuild
new file mode 100644
index 000000000000..1638d6e53236
--- /dev/null
+++ b/dev-db/pgrouting/pgrouting-3.6.2.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=( {12..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
+}

Reply via email to