Skip to content
Snippets Groups Projects
Commit 0041cae6 authored by Leonardo Arena's avatar Leonardo Arena Committed by Natanael Copa
Browse files

main/pgpool: build PostgreSQL extentions

parent 2fb6423e
No related branches found
No related tags found
1 merge request!66321main/pgpool: build PostgreSQL extentions
Pipeline #236028 skipped
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment