summaryrefslogtreecommitdiff
path: root/homebrew/temporaltables
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/temporaltables')
-rw-r--r--homebrew/temporaltables/.beer30
-rw-r--r--homebrew/temporaltables/.make.sh-auto6
-rw-r--r--homebrew/temporaltables/_metadata/description1
-rw-r--r--homebrew/temporaltables/_metadata/homepage1
-rw-r--r--homebrew/temporaltables/_metadata/name1
-rw-r--r--homebrew/temporaltables/_metadata/version1
-rwxr-xr-xhomebrew/temporaltables/download.sh1
-rwxr-xr-xhomebrew/temporaltables/patches.sh1
8 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/temporaltables/.beer b/homebrew/temporaltables/.beer
new file mode 100644
index 000000000..cac8c2c1f
--- /dev/null
+++ b/homebrew/temporaltables/.beer
@@ -0,0 +1,30 @@
+{
+ "name": "TemporalTables",
+ "description": "Temporal Tables PostgreSQL Extension",
+ "url": "https://github.com/arkhipov/temporal_tables/archive/v1.2.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://pgxn.org/dist/temporal_tables/",
+ "depends": [
+ {
+ "depend": "postgresql",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://github.com/mlt/temporal_tables/commit/24906c44.diff?full_index=1",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "ENV[\"PG_CONFIG\"] = Formula[\"postgresql\"].opt_bin/\"pg_config\"",
+ "mkdir \"stage\"",
+ "system \"make\", \"install\", \"DESTDIR=#{buildpath}/stage\"",
+ "lib.install Dir[\"stage/**/lib/*\"]",
+ "(share/\"postgresql/extension\").install Dir[\"stage/**/share/postgresql/extension/*\"]"
+ ],
+ "version": "1.2.0",
+ "file": "temporal_tables.rb"
+} \ No newline at end of file
diff --git a/homebrew/temporaltables/.make.sh-auto b/homebrew/temporaltables/.make.sh-auto
new file mode 100644
index 000000000..ebe71a45f
--- /dev/null
+++ b/homebrew/temporaltables/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+ENV["PG_CONFIG"] = Formula["postgresql"].opt_bin/"pg_config"
+mkdir "stage"
+make DESTDIR=${PKG_DEST} install DESTDIR=#{buildpath}/stage
+lib.install Dir["stage/**/lib/*"]
+(share/"postgresql/extension").install Dir["stage/**/share/postgresql/extension/*"]
diff --git a/homebrew/temporaltables/_metadata/description b/homebrew/temporaltables/_metadata/description
new file mode 100644
index 000000000..f57e842b6
--- /dev/null
+++ b/homebrew/temporaltables/_metadata/description
@@ -0,0 +1 @@
+Temporal Tables PostgreSQL Extension
diff --git a/homebrew/temporaltables/_metadata/homepage b/homebrew/temporaltables/_metadata/homepage
new file mode 100644
index 000000000..fd37da887
--- /dev/null
+++ b/homebrew/temporaltables/_metadata/homepage
@@ -0,0 +1 @@
+https://pgxn.org/dist/temporal_tables/
diff --git a/homebrew/temporaltables/_metadata/name b/homebrew/temporaltables/_metadata/name
new file mode 100644
index 000000000..a2d84302d
--- /dev/null
+++ b/homebrew/temporaltables/_metadata/name
@@ -0,0 +1 @@
+TemporalTables
diff --git a/homebrew/temporaltables/_metadata/version b/homebrew/temporaltables/_metadata/version
new file mode 100644
index 000000000..26aaba0e8
--- /dev/null
+++ b/homebrew/temporaltables/_metadata/version
@@ -0,0 +1 @@
+1.2.0
diff --git a/homebrew/temporaltables/download.sh b/homebrew/temporaltables/download.sh
new file mode 100755
index 000000000..bd2bd2729
--- /dev/null
+++ b/homebrew/temporaltables/download.sh
@@ -0,0 +1 @@
+wget https://github.com/arkhipov/temporal_tables/archive/v1.2.0.tar.gz \ No newline at end of file
diff --git a/homebrew/temporaltables/patches.sh b/homebrew/temporaltables/patches.sh
new file mode 100755
index 000000000..e5057f5b5
--- /dev/null
+++ b/homebrew/temporaltables/patches.sh
@@ -0,0 +1 @@
+wget https://github.com/mlt/temporal_tables/commit/24906c44.diff?full_index=1