void-packages/srcpkgs/pgbouncer/template

25 lines
775 B
Bash

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