Skip to content

Instantly share code, notes, and snippets.

View feihong's full-sized avatar

Feihong Hsu feihong

View GitHub Profile
@feihong
feihong / [email protected]
Last active June 13, 2017 23:32 — forked from pixeltrix/postgis21.rb
Formula for installing postgis 2.1 with the legacy [email protected] formula
class PostgisAT21 < Formula
desc "Adds support for geographic objects to PostgreSQL"
homepage "http://postgis.net"
url "http://pkgs.fedoraproject.org/repo/pkgs/postgis/postgis-2.1.7.tar.gz/f35307c201caf04e7028f95b649cf6e7/postgis-2.1.7.tar.gz"
sha256 "00ab79a3f609d7ea458f6fc358032ad059cb720baf88285243d6436a597a7ec2"
revision 1
def pour_bottle?
# Postgres extensions must live in the Postgres prefix, which precludes
# bottling: https://github.com/Homebrew/homebrew/issues/10247