summaryrefslogtreecommitdiff
path: root/homebrew/citus/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/citus/.make.sh-auto')
-rw-r--r--homebrew/citus/.make.sh-auto10
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/citus/.make.sh-auto b/homebrew/citus/.make.sh-auto
new file mode 100644
index 000000000..a0511b723
--- /dev/null
+++ b/homebrew/citus/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+ENV["PG_CONFIG"] = Formula["postgresql"].opt_bin/"pg_config"
+pkg:configure
+make libpq=-L#{Formula[postgresql"].opt_lib} -lpq"
+mkdir "stage"
+make DESTDIR=${PKG_DEST} install DESTDIR=#{buildpath}/stage
+bin.install Dir["stage/**/bin/*"]
+lib.install Dir["stage/**/lib/*"]
+include.install Dir["stage/**/include/*"]
+(share/"postgresql/extension").install Dir["stage/**/share/postgresql/extension/*"]