dev-db/rum: New package

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2020-04-27 17:20:05 +02:00
parent a4ef26a73b
commit 31b179f6cb
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
POSTGRES_COMPAT=( 9.6 10 11 12 )
POSTGRES_USEDEP="server"
inherit postgres-multi
DESCRIPTION="RUM access method - inverted index with additional information in posting lists"
HOMEPAGE="https://github.com/postgrespro/rum"
SRC_URI="https://github.com/postgrespro/rum/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="POSTGRESQL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="${POSTGRES_DEP}"
RDEPEND="${DEPEND}"
USE_PGXS=1
src_compile() {
postgres-multi_foreach emake USE_PGXS=1
}
src_test() {
postgres-multi_foreach emake USE_PGXS=1 installcheck
}
src_install() {
postgres-multi_foreach emake USE_PGXS=1 DESTDIR="${D}" install
}