diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2020-11-25 21:30:09 -0500 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2020-11-25 21:30:09 -0500 |
commit | 33c03035bddb5bc325bc5fb8aa65260886f3e0ea (patch) | |
tree | d2bd67360f03f8c0717c56612d6c938ab3fc9f1c /dev-db | |
parent | net-vpn/openvpn-2.5.0-r1: Add patch to fix libressl (bug #651228) (diff) | |
download | gentoo-33c03035bddb5bc325bc5fb8aa65260886f3e0ea.tar.gz gentoo-33c03035bddb5bc325bc5fb8aa65260886f3e0ea.tar.bz2 gentoo-33c03035bddb5bc325bc5fb8aa65260886f3e0ea.zip |
dev-db/pgrouting: Bump to 3.1.1
Now supports side-by-side installations for PostgreSQL slots.
Dropped support for building documentation because upstream has a novel
approach.
Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/pgrouting/Manifest | 1 | ||||
-rw-r--r-- | dev-db/pgrouting/pgrouting-3.1.1.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-db/pgrouting/Manifest b/dev-db/pgrouting/Manifest index aa2c6d3e681a..89385eed601a 100644 --- a/dev-db/pgrouting/Manifest +++ b/dev-db/pgrouting/Manifest @@ -1 +1,2 @@ DIST pgrouting-2.6.2.tar.gz 6065517 BLAKE2B e27e28cf988040de1e894a857e3d210bc7676271f69d898afc2d6116d5b88d87404723b2cb1283ef77b4449b4aa62a03e2dbcd489ac641a4721a596d29f8fecd SHA512 6e37f66e631d0cc87e135be7d095822aae21656bb56b3d18afa5bececaad8cee6324d37e8e152bbf69e3374ded1f10aa4b9a4c52b873e3a4c43e73cd877fddcb +DIST pgrouting-3.1.1.tar.gz 6133979 BLAKE2B b7657eeb88773773e6166190cda73d9e657774ff81ce7e9f005333a8dcb9d56587d4a793410356092bb1623ec287549dbc60d814b1d5156ff28301503acee776 SHA512 73285d2d47be844203df136b8a8c13d1672ad8c2dac44a1ff7ce16e4676043692a8f2a60a305542132891da83560c49c5eaeb7712e3e3dd250cd8fd550260d4a diff --git a/dev-db/pgrouting/pgrouting-3.1.1.ebuild b/dev-db/pgrouting/pgrouting-3.1.1.ebuild new file mode 100644 index 000000000000..2414673c0556 --- /dev/null +++ b/dev-db/pgrouting/pgrouting-3.1.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_BUILD_TYPE="Release" +#CMAKE_MAKEFILE_GENERATOR=emake + +POSTGRES_COMPAT=( 9.{5..6} {10..13} ) +POSTGRES_USEDEP="server" + +inherit cmake postgres-multi + +DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality." +HOMEPAGE="http://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 +} |