summaryrefslogtreecommitdiff
path: root/dev-db/pgaudit/pgaudit-18.0.ebuild
blob: fae3dd035a5b720864eeb4472846c834e0626e31 (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
29
30
31
# Copyright 2021-2025 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
POSTGRES_COMPAT=( 14 15 16 17 18 )

inherit postgres

DESCRIPTION="PostgreSQL Audit Extension"
HOMEPAGE="https://www.pgaudit.org/"
SRC_URI="https://github.com/pgaudit/pgaudit/archive/refs/tags/${PV}.tar.gz"

LICENSE="PostgreSQL"
SLOT="1.6"
KEYWORDS="~amd64"

DEPEND="dev-db/postgresql"
RDEPEND="${DEPEND}"

DOCS=( CHANGELOG.md README.md RELEASENOTES.md )

pkg_pretend() {
	postgres_check_slot
}

src_compile() {
	emake USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config
}

src_install() {
	emake DESTDIR="${D}" install USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config
}