diff options
author | 2021-09-30 19:02:33 +0000 | |
---|---|---|
committer | 2021-09-30 19:02:40 +0000 | |
commit | fd8ac3f9f7aed7cc9a1241435a75bf4dd3bbb2a9 (patch) | |
tree | f2abf1dfa0fc71e5432500f1c1610116977de8ab /dev-db/pgrouting/pgrouting-3.2.1.ebuild | |
parent | dev-util/woke: stable 0.14.0 on amd64 (diff) | |
download | gentoo-fd8ac3f9f7aed7cc9a1241435a75bf4dd3bbb2a9.tar.gz gentoo-fd8ac3f9f7aed7cc9a1241435a75bf4dd3bbb2a9.tar.bz2 gentoo-fd8ac3f9f7aed7cc9a1241435a75bf4dd3bbb2a9.zip |
dev-db/pgrouting: Bump to 3.2.1
Also support postgres-14
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'dev-db/pgrouting/pgrouting-3.2.1.ebuild')
-rw-r--r-- | dev-db/pgrouting/pgrouting-3.2.1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-db/pgrouting/pgrouting-3.2.1.ebuild b/dev-db/pgrouting/pgrouting-3.2.1.ebuild new file mode 100644 index 000000000000..b7b14cb31517 --- /dev/null +++ b/dev-db/pgrouting/pgrouting-3.2.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_BUILD_TYPE="Release" + +POSTGRES_COMPAT=( 9.6 {10..14} ) +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 +} |