mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
main/pgpool: build PostgreSQL extentions
This commit is contained in:
parent
2fb6423efc
commit
0041cae6b3
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
pkgname=pgpool
|
||||
pkgver=4.5.2
|
||||
_pkgver="${pkgver//./_}"
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="A connection pooling/replication server for PostgreSQL"
|
||||
url="https://www.pgpool.net/"
|
||||
arch="all"
|
||||
|
@ -17,6 +17,7 @@ makedepends="
|
|||
libtool
|
||||
linux-headers
|
||||
openssl-dev
|
||||
postgresql-dev
|
||||
"
|
||||
pkgusers="postgres"
|
||||
pkggroups="postgres"
|
||||
|
@ -51,6 +52,7 @@ build() {
|
|||
--with-openssl \
|
||||
--disable-rpath
|
||||
make -j1
|
||||
make PG_CONFIG=/usr/bin/pg_config -C "$builddir"/src/sql
|
||||
}
|
||||
|
||||
check() {
|
||||
|
@ -60,6 +62,8 @@ check() {
|
|||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
make DESTDIR="${pkgdir}/" PG_CONFIG=/usr/bin/pg_config -C "$builddir"/src/sql install
|
||||
|
||||
touch "$pkgdir"/etc/$pkgname/pool_passwd
|
||||
|
||||
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
|
||||
|
|
Loading…
Reference in a new issue