25 lines
846 B
Bash
25 lines
846 B
Bash
# Template file for 'pgbouncer'
|
|
pkgname=pgbouncer
|
|
version=1.19.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libevent-devel"
|
|
checkdepends="python3-pytest-xdist python3-pytest-asyncio python3-filelock python3-psycopg postgresql15 postgresql15-client"
|
|
short_desc="Lightweight connection pooler for PostgreSQL"
|
|
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
|
|
license="ISC"
|
|
homepage="https://pgbouncer.github.io/"
|
|
changelog="https://raw.githubusercontent.com/pgbouncer/pgbouncer/master/NEWS.md"
|
|
distfiles="https://pgbouncer.github.io/downloads/files/${version}/pgbouncer-${version}.tar.gz"
|
|
checksum=58c3eff9bb72c18133b28e1f034fd59356ea76281c65e127432ca101c208a394
|
|
make_check=ci-skip # Postgres server can't be run as root
|
|
|
|
pre_check() {
|
|
. /etc/profile.d/postgresql15.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYRIGHT
|
|
}
|