diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-04-12 12:49:37 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-12 17:17:13 +0000 |
commit | 708c7cdc772bb8d58cd9d39664d55e99f054bb83 (patch) | |
tree | 5e4f4d0ef8d03cdea98eae676b0efcd7c9f98a0e /main/pgpool | |
parent | c2b64262ce32cb46b4ce49d1af711ce251c6ac24 (diff) | |
download | aports-708c7cdc772bb8d58cd9d39664d55e99f054bb83.tar.bz2 aports-708c7cdc772bb8d58cd9d39664d55e99f054bb83.tar.xz |
main/pgpool: upgrade to 3.6.2 and modernize abuild
Diffstat (limited to 'main/pgpool')
-rw-r--r-- | main/pgpool/APKBUILD | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/main/pgpool/APKBUILD b/main/pgpool/APKBUILD index 2dc80cf6b4..f1dc7684d9 100644 --- a/main/pgpool/APKBUILD +++ b/main/pgpool/APKBUILD @@ -2,25 +2,27 @@ # Maintainer: Cameron <cbanta@gmail.com> pkgname=pgpool _opkgname=pgpool-II -pkgver=3.2.2 -pkgrel=1 +pkgver=3.6.2 +pkgrel=0 pkgdesc="A connection pooling/replication server for PostgreSQL" url="http://www.pgpool.net" arch="all" license="BSD" -makedepends="postgresql-dev" +makedepends="postgresql-dev linux-headers" subpackages="$pkgname-doc $pkgname-dev" source="$_opkgname-$pkgver.tar.gz::http://www.pgpool.net/download.php?f=$_opkgname-$pkgver.tar.gz $pkgname.initd" -_builddir="$srcdir"/$_opkgname-$pkgver +builddir="$srcdir"/$_opkgname-$pkgver prepare() { - cd "$_builddir" + cd "$builddir" + default_prepare || return 1 update_config_sub || return 1 } + build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -33,15 +35,11 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } -md5sums="707f0f6328b669cb643b936c21365440 pgpool-II-3.2.2.tar.gz -f7cbfc39162cd4805d8059fb9f54f2b3 pgpool.initd" -sha256sums="307bab80dcefdcc5c1a2a7b2f294d5734d9c258985503e550b3cbf8d1858cfb0 pgpool-II-3.2.2.tar.gz -ca0f76a79bb8573376ba5ab57021e9ac6e10a45ac561eb23bc3826535d1c173d pgpool.initd" -sha512sums="e02091ab5aa336d01e3a0d314b856868452880c4f86aa92e4f73105d4e9aa0c21914e18587f06a2f67282e30e3a50ffff0c0b3825efc5f91529de06206dbdfb8 pgpool-II-3.2.2.tar.gz +sha512sums="b2869c40496f6a0b08a056e72fd0518088cce91f86d5a3c2bf4d3e25209280d51b05cbbadc5126a4ff21cc627c76c806ecfa3a19ad692a596bda3b20aae89129 pgpool-II-3.6.2.tar.gz de36d7aab6806f1e303901ac80284bb9861edaf9b682901db9f1ead3843ba8cb528c814e5dabfc2c450ebed6450daf3fff14166d08a530e1c44a29e4d4e29a2c pgpool.initd" |