Skip to content

Instantly share code, notes, and snippets.

@tylerritchie
Created July 24, 2014 23:23
Show Gist options
  • Save tylerritchie/8828ae08bc41c64840de to your computer and use it in GitHub Desktop.
Save tylerritchie/8828ae08bc41c64840de to your computer and use it in GitHub Desktop.
require 'formula'
class Proj47 < Formula
homepage 'http://trac.osgeo.org/proj/'
url 'http://download.osgeo.org/proj/proj-4.7.0.tar.gz'
sha1 'bfe59b8dc1ea0c57e1426c37ff2b238fea66acd7'
# The datum grid files are required to support datum shifting
resource 'datumgrid' do
url 'http://download.osgeo.org/proj/proj-datumgrid-1.5.zip'
sha1 '4429ba1a8c764d5c0e6724d868f6874f452f7440'
end
skip_clean :la
fails_with :llvm do
build 2334
end
def install
(buildpath/'nad').install resource('datumgrid')
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment