diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-24 13:07:59 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-24 13:08:27 +0000 |
commit | 62a475001d1fc01b8099d7f66f93def00611ccf1 (patch) | |
tree | 93e59d21be75e1ae2299536ac77e26a620ad56dc /community | |
parent | 56e6b3b3e98ef39fc007267e045f30400447249d (diff) | |
download | aports-62a475001d1fc01b8099d7f66f93def00611ccf1.tar.bz2 aports-62a475001d1fc01b8099d7f66f93def00611ccf1.tar.xz |
community/postgresql-bdr-extension0.9: new aport
UDR support has been removed from 1.x
Allow AL3.6 installations to transition from 0.9.x
Diffstat (limited to 'community')
-rw-r--r-- | community/postgresql-bdr-extension0.9/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/postgresql-bdr-extension0.9/APKBUILD b/community/postgresql-bdr-extension0.9/APKBUILD new file mode 100644 index 0000000000..9797b6582a --- /dev/null +++ b/community/postgresql-bdr-extension0.9/APKBUILD @@ -0,0 +1,37 @@ +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=postgresql-bdr-extension0.9 +pkgver=0.9.3 +pkgrel=0 +pkgdesc="PostgreSQL bidirectional replication (BDR) extension" +url="https://wiki.postgresql.org/wiki/BDR_Administration" +arch="all" +license="GPL" +makedepends="$depends_dev postgresql-bdr-dev" +subpackages="$pkgname-doc" +#FIXME: mkdir: can't create directory 'tmp_check/data': File exists +options="!check" +source="http://packages.2ndquadrant.com/postgresql-bdr94-2ndquadrant/tarballs/bdr-$pkgver.tar.bz2" +builddir="$srcdir"/bdr-$pkgver + +build() { + cd "$builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-bdr \ + || return 1 + make || return 1 +} + +check() { + cd "$builddir" + make DESTDIR="$pkgdir" check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="8a129ecd45d69d056d750c043481aad000403e241a7fa89bfde7a758baf6262491a8727b21ea9454d4f989404fd2acb45cd6aa0758e4eaf5fa94c9a73f8c16c2 bdr-0.9.3.tar.bz2" |