-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Haelwenn (lanodan) Monnier <[email protected]>
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST rum-1.3.13.tar.gz 565701 BLAKE2B 77f1a3116fbb62143587f3e10e884b24627e816824ad83d50e6127eb3be218e50b192cffe9a5a565fba26aa4aa3d362cefaf3dd3954b1c7aaf9a5e17fdd1159f SHA512 5a5e614df2b9ee1ea5a2922588a745c9812fd6a6a6cb4f3e6c3c237d752ff93c332619cc6c7881abcffca59998a4c467bd7daec5cd50154391c236c4fe7e05f7 | ||
DIST rum-1.3.14.tar.gz 567735 BLAKE2B e7f6fdddcbfc8bab87c41562ad74dd2c99d04c1f8c51b035492be075d36a96c3a01ae5de461cb9825dfca191a6249b5c1797395ff6ce23f51e8871e3a9357f72 SHA512 84c6f26e51e002da78ec91f3368295d5cd5ed60c8cc60ee3b389742224276f74407b2f67e41be21a8fe49bc2c197ba931fe4431ecd4ca6a6b94bc3a0625eed3d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Copyright 2020-2022 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
POSTGRES_COMPAT=( 9.6 10 11 12 13 14 15 16 17 ) | ||
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}" | ||
|
||
# Needs a running PostgreSQL server | ||
RESTRICT="test" | ||
|
||
src_prepare() { | ||
sed -i 's;^PG_CONFIG =;PG_CONFIG ?=;' Makefile || die | ||
postgres-multi_src_prepare | ||
} | ||
|
||
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 | ||
} |