From 33da0d4eac4d65ff34718d36a8506a155cda09f7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 24 Jan 2016 02:14:00 +0000 Subject: beta bdr plugin package --- dev-db/bdr/Manifest | 3 +++ dev-db/bdr/bdr-0.9.3_p2.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-db/bdr/Manifest create mode 100644 dev-db/bdr/bdr-0.9.3_p2.ebuild (limited to 'dev-db') diff --git a/dev-db/bdr/Manifest b/dev-db/bdr/Manifest new file mode 100644 index 0000000..d45fa24 --- /dev/null +++ b/dev-db/bdr/Manifest @@ -0,0 +1,3 @@ +DIST 0.9.3-2.tar.gz 536092 SHA256 d3a5d94a73aa3de75d1e796fd5a1e961e83e30e6c3f273bb5e88ce5775d6312c SHA512 bc5098ed36632ed0c045ca083514cc723141b4a256c85eb761a1014040dbc690045e87c2033069aed50a01e40fb28f1fa052b314d66945dad2135bac630b0fde WHIRLPOOL 48f65b6d3f5706734b80ac3a57ec386388bd0c59090304ba702d84393608eca9a53085c04624ab3b0b6aa3cae6ea8272d761908c06f2d91a39ca396d96dd8885 +DIST postgresql-9.4.5.tar.bz2 17660960 SHA256 b87c50c66b6ea42a9712b5f6284794fabad0616e6ae420cf0f10523be6d94a39 SHA512 01ad4b5a097efa70f74a9e96b764c32953a9df57d6bf81b893a1e552475f6aba0381580dcd1f27b2c443ce89fecc429eeeb0219af60a0b2f84798f76eb1757f5 WHIRLPOOL 8ea0e9a40cefa53568071f2137bac996898f9bd486cfb5cfcf8bb49590816833f37878f10caabffb9d3127e047f00c916b8830594a485ebe16fb9fe6fc834c95 +EBUILD bdr-0.9.3_p2.ebuild 752 SHA256 7ba87709b6f6a58c36cb51f03d92c9ac09d27bbedf447d193dc0928974da4e92 SHA512 f252b25e357063189a4b4fd23e4378a2a2d41a61a9b1f630079cda8452e58ac1e094db148ee882bd08c967f10f3bdc64c614e87ae60938c3175f32d618432f66 WHIRLPOOL 8ee5e323631e36c013a7f8845b40e26a0105a08e29d930eb2b183e1935d3d990e474c4280ff8abe3dbde34ac8bd30e93641c12127608f5e97d5ee73e1f88fd6e diff --git a/dev-db/bdr/bdr-0.9.3_p2.ebuild b/dev-db/bdr/bdr-0.9.3_p2.ebuild new file mode 100644 index 0000000..bfbbf57 --- /dev/null +++ b/dev-db/bdr/bdr-0.9.3_p2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Bi-Directional Multi-Master Replication (BDR) for PostgreSQL" +HOMEPAGE="http://2ndquadrant.com/en/resources/bdr/" +SRC_URI="https://github.com/2ndQuadrant/bdr/archive/bdr-plugin/0.9.3-2.tar.gz postgresql-9.4.5.tar.bz2" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="=dev-db/postgresql-9.4*[server]" +RDEPEND="${DEPEND}" + +bdrS="${WORKDIR}/bdr-bdr-plugin-0.9.3-2" +pqS="${WORKDIR}/postgresql-9.4.5" +S=${bdrS} + +src_configure() { + cd ${pqS} + econf + cd ${bdrS} + econf +} + +src_compile() { + emake -C ${pqS}/src/port + emake -C ${pqS}/src/common + emake -C ${bdrS} LDFLAGS=-L${pqS}/src/common/\ -L${pqS}/src/port +} + -- cgit v1.2.3