aboutsummaryrefslogtreecommitdiffstats
path: root/testing/postgresql-pglogical
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-12-13 19:07:56 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-12-13 19:08:30 +0100
commitd9b2540e7ae916e774577a5f9c83f3f9eddae2d3 (patch)
treed25537350bca8806b31df665519722549e880a1b /testing/postgresql-pglogical
parentbc29caf941d285076894658e257a37fca33476ad (diff)
downloadaports-d9b2540e7ae916e774577a5f9c83f3f9eddae2d3.tar.bz2
aports-d9b2540e7ae916e774577a5f9c83f3f9eddae2d3.tar.xz
testing/postgresql-pglogical: new aport
https://2ndquadrant.com/en/resources/pglogical/ Logical Replication extension for PostgreSQL
Diffstat (limited to 'testing/postgresql-pglogical')
-rw-r--r--testing/postgresql-pglogical/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/postgresql-pglogical/APKBUILD b/testing/postgresql-pglogical/APKBUILD
new file mode 100644
index 0000000000..cd3986957f
--- /dev/null
+++ b/testing/postgresql-pglogical/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=postgresql-pglogical
+_pkgname=pglogical
+pkgver=1.2.1
+_pgver=9.6
+pkgrel=0
+pkgdesc="Logical Replication extension for PostgreSQL $_pgver"
+url="https://2ndquadrant.com/en/resources/pglogical/"
+arch="all"
+license="custom"
+depends="postgresql>=$_pgver.0"
+makedepends="libedit-dev libxml2-dev postgresql-dev>=$_pgver.0 zlib-dev"
+source="http://packages.2ndquadrant.com/pglogical/tarballs/$_pkgname-$pkgver.tar.bz2"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ make USE_PGXS=1 all
+}
+
+package() {
+ cd "$builddir"
+ make USE_PGXS=1 DESTDIR="$pkgdir" install
+}
+
+md5sums="ed339e8fc2f2252fc654a0d7072d7078 pglogical-1.2.1.tar.bz2"
+sha256sums="409eea245b2cacdce6b357628da2b68cd322478582fcc4e2ff5feb954f9512c6 pglogical-1.2.1.tar.bz2"
+sha512sums="0a613b2000f3a91e952e212232617a612b5439fb40a56d60646fc0665fb763e864f78cd91e0cc0b16cb5d6c202655ad2c9de872435fd6c185c5f849083915dca pglogical-1.2.1.tar.bz2"