summaryrefslogtreecommitdiff
blob: 5f3dab62c30bdad81a80d1284500c8a12f1c5a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake

DESCRIPTION="'top' for PostgreSQL"
HOMEPAGE="https://pg_top.gitlab.io/"
SRC_URI="https://pg_top.gitlab.io/source/${P}.tar.xz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

RDEPEND="dev-db/postgresql:=
	dev-libs/libbsd
	sys-libs/ncurses:=
	virtual/libelf:="
DEPEND="${RDEPEND}"

DOCS=( HISTORY.rst README.rst TODO Y2K )

src_prepare() {
	sed 's/set(CMAKE_C_FLAGS "-Wall")//' -i CMakeLists.txt || die
	cmake_src_prepare
}