summaryrefslogtreecommitdiff
path: root/homebrew/postgresxc
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/postgresxc')
-rw-r--r--homebrew/postgresxc/.beer55
-rw-r--r--homebrew/postgresxc/.make.sh-auto2
-rw-r--r--homebrew/postgresxc/_metadata/description1
-rw-r--r--homebrew/postgresxc/_metadata/homepage1
-rw-r--r--homebrew/postgresxc/_metadata/name1
-rw-r--r--homebrew/postgresxc/_metadata/version1
-rwxr-xr-xhomebrew/postgresxc/download.sh1
-rwxr-xr-xhomebrew/postgresxc/patches.sh14
8 files changed, 76 insertions, 0 deletions
diff --git a/homebrew/postgresxc/.beer b/homebrew/postgresxc/.beer
new file mode 100644
index 000000000..339984a76
--- /dev/null
+++ b/homebrew/postgresxc/.beer
@@ -0,0 +1,55 @@
+{
+ "name": "PostgresXc",
+ "description": "PostgreSQL cluster based on shared-nothing architecture",
+ "url": "https://downloads.sourceforge.net/project/postgres-xc/Version_1.0/pgxc-v1.0.4.tar.gz",
+ "mirror": null,
+ "homepage": "https://sourceforge.net/p/postgres-xc/xc-wiki/Main_Page/",
+ "depends": [
+ {
+ "depend": "arch",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ },
+ {
+ "depend": "ossp-uuid",
+ "build-depend": false
+ },
+ {
+ "depend": "readline",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "postgresql",
+ "reason": null
+ }
+ ],
+ "patches": [
+ {
+ "url": null,
+ "data": [
+ "--- a/src/pl/plpython/Makefile\t2011-09-23 08:03:52.000000000 +1000\n",
+ "+++ b/src/pl/plpython/Makefile\t2011-10-26 21:43:40.000000000 +1100\n",
+ "@@ -24,8 +24,6 @@\n",
+ " # Darwin (OS X) has its own ideas about how to do this.\n",
+ " ifeq ($(PORTNAME), darwin)\n",
+ " shared_libpython = yes\n",
+ "-override python_libspec = -framework Python\n",
+ "-override python_additional_libs =\n",
+ " endif\n",
+ "\n",
+ " # If we don't have a shared library and the platform doesn't allow it\n"
+ ]
+ }
+ ],
+ "install": [
+ "(var/\"postgres-xc\").mkpath"
+ ],
+ "version": "1.0.4",
+ "file": "postgres-xc.rb"
+} \ No newline at end of file
diff --git a/homebrew/postgresxc/.make.sh-auto b/homebrew/postgresxc/.make.sh-auto
new file mode 100644
index 000000000..1e4357b11
--- /dev/null
+++ b/homebrew/postgresxc/.make.sh-auto
@@ -0,0 +1,2 @@
+pkg:setup
+(var/"postgres-xc").mkpath
diff --git a/homebrew/postgresxc/_metadata/description b/homebrew/postgresxc/_metadata/description
new file mode 100644
index 000000000..0ca206b8e
--- /dev/null
+++ b/homebrew/postgresxc/_metadata/description
@@ -0,0 +1 @@
+PostgreSQL cluster based on shared-nothing architecture
diff --git a/homebrew/postgresxc/_metadata/homepage b/homebrew/postgresxc/_metadata/homepage
new file mode 100644
index 000000000..4415312b6
--- /dev/null
+++ b/homebrew/postgresxc/_metadata/homepage
@@ -0,0 +1 @@
+https://sourceforge.net/p/postgres-xc/xc-wiki/Main_Page/
diff --git a/homebrew/postgresxc/_metadata/name b/homebrew/postgresxc/_metadata/name
new file mode 100644
index 000000000..f5812f923
--- /dev/null
+++ b/homebrew/postgresxc/_metadata/name
@@ -0,0 +1 @@
+PostgresXc
diff --git a/homebrew/postgresxc/_metadata/version b/homebrew/postgresxc/_metadata/version
new file mode 100644
index 000000000..ee90284c2
--- /dev/null
+++ b/homebrew/postgresxc/_metadata/version
@@ -0,0 +1 @@
+1.0.4
diff --git a/homebrew/postgresxc/download.sh b/homebrew/postgresxc/download.sh
new file mode 100755
index 000000000..0b95f8b08
--- /dev/null
+++ b/homebrew/postgresxc/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/postgres-xc/Version_1.0/pgxc-v1.0.4.tar.gz \ No newline at end of file
diff --git a/homebrew/postgresxc/patches.sh b/homebrew/postgresxc/patches.sh
new file mode 100755
index 000000000..6c2da3d13
--- /dev/null
+++ b/homebrew/postgresxc/patches.sh
@@ -0,0 +1,14 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+--- a/src/pl/plpython/Makefile 2011-09-23 08:03:52.000000000 +1000
++++ b/src/pl/plpython/Makefile 2011-10-26 21:43:40.000000000 +1100
+@@ -24,8 +24,6 @@
+ # Darwin (OS X) has its own ideas about how to do this.
+ ifeq ($(PORTNAME), darwin)
+ shared_libpython = yes
+-override python_libspec = -framework Python
+-override python_additional_libs =
+ endif
+
+ # If we don't have a shared library and the platform doesn't allow it
+EOF