## debian/packages for pgbouncer

Source: pgbouncer
Section: contrib/misc
Priority: extra
Maintainer: Marko Kreen <marko.kreen@skype.net>
Standards-Version: 3.6.2
Description: Lightweight connection pooler for PostgreSQL 
Copyright: BSD
 Copyright 2007 Marko Kreen, Skype Technologies
Clean: sh
 make clean || true
Build-Depends: libevent-dev

Package: pgbouncer
Architecture: any
Contains: unstripped
Depends: []
Description: Lightweight connection pooler for PostgreSQL
 .
Install: sh
 # just in case, build with debugging options
 CFLAGS="-O -g" ./configure --prefix=/usr --enable-debug --enable-cassert
 make V=1
 make install DESTDIR=$ROOT
 mv $ROOT/usr/bin/pgbouncer $ROOT/usr/bin/pgbouncer-dbg
 make clean
 # now without cassert
 ./configure --prefix=/usr --enable-debug
 make V=1
 make install DESTDIR=$ROOT
