Created
July 24, 2014 23:23
-
-
Save tylerritchie/8828ae08bc41c64840de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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