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