diff options
-rw-r--r-- | main/pgpool/APKBUILD | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/main/pgpool/APKBUILD b/main/pgpool/APKBUILD index 8eb19a59b..a60102232 100644 --- a/main/pgpool/APKBUILD +++ b/main/pgpool/APKBUILD @@ -2,35 +2,40 @@ # Maintainer: Cameron <cbanta@gmail.com> pkgname=pgpool _opkgname=pgpool-II -pkgver=3.0.1 -pkgrel=2 -pkgdesc="Pgpool II is a connection pooling/replication server for PostgreSQL." -url="http://pgfoundry.org/projects/pgpool/" +pkgver=3.2.2 +pkgrel=0 +pkgdesc="A connection pooling/replication server for PostgreSQL" +url="http://www.pgpool.net" arch="all" license="BSD" makedepends="postgresql-dev" subpackages="$pkgname-doc $pkgname-dev" -source="http://pgfoundry.org/frs/download.php/2841/$_opkgname-$pkgver.tar.gz - $pkgname.initd" +source="$_opkgname-$pkgver.tar.gz::http://www.pgpool.net/download.php?f=$_opkgname-$pkgver.tar.gz + $pkgname.initd" +_builddir="$srcdir"/$_opkgname-$pkgver build() { - cd "$srcdir/$_opkgname-$pkgver" - - ./configure --prefix=/usr \ + cd "$_builddir" + ./configure \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info - + --infodir=/usr/share/info \ + || return 1 make || return 1 } package() { - cd "$srcdir/$_opkgname-$pkgver" + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } -md5sums="86d8beff0396d11b6753dd2be31bcad7 pgpool-II-3.0.1.tar.gz +md5sums="707f0f6328b669cb643b936c21365440 pgpool-II-3.2.2.tar.gz 6317aee51feaf9c5facb7765cddeec6b pgpool.initd" +sha256sums="307bab80dcefdcc5c1a2a7b2f294d5734d9c258985503e550b3cbf8d1858cfb0 pgpool-II-3.2.2.tar.gz +19c4652755913c53c209b0f6c81074a4ef430dd19a196fe22779f991a8cb8d66 pgpool.initd" +sha512sums="e02091ab5aa336d01e3a0d314b856868452880c4f86aa92e4f73105d4e9aa0c21914e18587f06a2f67282e30e3a50ffff0c0b3825efc5f91529de06206dbdfb8 pgpool-II-3.2.2.tar.gz +b8efd7b90e0bb74a5d099cd6929ea7a8342803dea4eed3410d210bfce4074a773a4f11caabb59dd4e85f049c5168537ebc504eb4d83236d2fa68b03725fa9aff pgpool.initd" |