diff options
Diffstat (limited to 'homebrew/virtualpg')
-rw-r--r-- | homebrew/virtualpg/.beer | 32 | ||||
-rw-r--r-- | homebrew/virtualpg/.make.sh-auto | 4 | ||||
-rw-r--r-- | homebrew/virtualpg/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/virtualpg/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/virtualpg/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/virtualpg/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/virtualpg/download.sh | 1 |
7 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/virtualpg/.beer b/homebrew/virtualpg/.beer new file mode 100644 index 000000000..784b4f32b --- /dev/null +++ b/homebrew/virtualpg/.beer @@ -0,0 +1,32 @@ +{ + "name": "Virtualpg", + "description": "Loadable dynamic extension for SQLite and SpatiaLite", + "url": "https://www.gaia-gis.it/gaia-sins/virtualpg-1.0.2.tar.gz", + "mirror": null, + "homepage": "https://www.gaia-gis.it/fossil/virtualpg/index", + "depends": [ + { + "depend": "libspatialite", + "build-depend": false + }, + { + "depend": "postgis", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "inreplace \"configure\",", + "\"shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'\",", + "\"shrext_cmds='.dylib'\"", + "system \"./configure\", \"--enable-shared=yes\",", + "\"--disable-dependency-tracking\",", + "\"--with-pgconfig=#{Formula[\"postgresql\"].opt_bin}/pg_config\",", + "\"--prefix=#{prefix}\"", + "system \"make\", \"install\"" + ], + "version": "1.0.2", + "file": "virtualpg.rb" +}
\ No newline at end of file diff --git a/homebrew/virtualpg/.make.sh-auto b/homebrew/virtualpg/.make.sh-auto new file mode 100644 index 000000000..05ae64d8c --- /dev/null +++ b/homebrew/virtualpg/.make.sh-auto @@ -0,0 +1,4 @@ +pkg:setup +inreplace "configure", "shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'", "shrext_cmds='.dylib'" +pkg:configure --enable-shared=yes --disable-dependency-tracking --with-pgconfig=#{Formula[postgresql"].opt_bin}/pg_config" +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/virtualpg/_metadata/description b/homebrew/virtualpg/_metadata/description new file mode 100644 index 000000000..6faf9ff60 --- /dev/null +++ b/homebrew/virtualpg/_metadata/description @@ -0,0 +1 @@ +Loadable dynamic extension for SQLite and SpatiaLite diff --git a/homebrew/virtualpg/_metadata/homepage b/homebrew/virtualpg/_metadata/homepage new file mode 100644 index 000000000..1a7a0d933 --- /dev/null +++ b/homebrew/virtualpg/_metadata/homepage @@ -0,0 +1 @@ +https://www.gaia-gis.it/fossil/virtualpg/index diff --git a/homebrew/virtualpg/_metadata/name b/homebrew/virtualpg/_metadata/name new file mode 100644 index 000000000..8e28842bd --- /dev/null +++ b/homebrew/virtualpg/_metadata/name @@ -0,0 +1 @@ +Virtualpg diff --git a/homebrew/virtualpg/_metadata/version b/homebrew/virtualpg/_metadata/version new file mode 100644 index 000000000..6d7de6e6a --- /dev/null +++ b/homebrew/virtualpg/_metadata/version @@ -0,0 +1 @@ +1.0.2 diff --git a/homebrew/virtualpg/download.sh b/homebrew/virtualpg/download.sh new file mode 100755 index 000000000..d4d4bd321 --- /dev/null +++ b/homebrew/virtualpg/download.sh @@ -0,0 +1 @@ +wget https://www.gaia-gis.it/gaia-sins/virtualpg-1.0.2.tar.gz
\ No newline at end of file |