25 lines
846 B
Bash
25 lines
846 B
Bash
# Template file for 'pgbouncer'
|
|
pkgname=pgbouncer
|
|
version=1.21.0
|
|
revision=1
|
|
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=7e1dd620c8d85a8490aff25061d5055d7aef9cf3e8bfe2d9e7719b8ee59114e2
|
|
make_check=ci-skip # Postgres server can't be run as root
|
|
|
|
pre_check() {
|
|
. /etc/profile.d/postgresql15.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYRIGHT
|
|
}
|