void-packages/srcpkgs/pgbouncer/template

25 lines
775 B
Bash

# Template file for 'pgbouncer'
pkgname=pgbouncer
version=1.17.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libevent-devel"
checkdepends="which postgresql14 postgresql14-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=657309b7bc5c7a85cbf70a9a441b535f7824123081eabb7ba86d00349a256e23
make_check=ci-skip # Postgres server can't be run as root
pre_check() {
. /etc/profile.d/postgresql14.sh
}
post_install() {
vlicense COPYRIGHT
}