mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
USE=server is only in dev-db/postgresql by way of a patch to make it conditional. If it's ever removed (as it is in 9999), it'll be such that the server is available, so (+). Signed-off-by: Sam James <sam@gentoo.org>
31 lines
709 B
Bash
31 lines
709 B
Bash
# Copyright 2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
MY_PV="REL${PV//./_}"
|
|
POSTGRES_COMPAT=( 14 15 16 17 18 )
|
|
POSTGRES_USEDEP="server(+)"
|
|
|
|
inherit postgres-multi
|
|
|
|
DESCRIPTION="Statistics about physical disk access and CPU consumption done by backends"
|
|
HOMEPAGE="https://github.com/powa-team/pg_stat_kcache"
|
|
SRC_URI="https://github.com/powa-team/pg_stat_kcache/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
|
|
LICENSE="POSTGRESQL"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
REQUIRED_USE="${POSTGRES_REQ_USE}"
|
|
|
|
RDEPEND="${POSTGRES_DEP}"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
RESTRICT="test"
|
|
|
|
src_install() {
|
|
einstalldocs
|
|
postgres-multi_src_install
|
|
}
|