blob: 6427a79205224aaccbbd1fc72ec95f2fe7dc2211 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
require 'formula'
class ProjDatumgrid < Formula
url 'http://download.osgeo.org/proj/proj-datumgrid-1.5.zip'
sha1 '4429ba1a8c764d5c0e6724d868f6874f452f7440'
end
class Proj < Formula
homepage 'http://trac.osgeo.org/proj/'
url 'http://download.osgeo.org/proj/proj-4.8.0.tar.gz'
sha1 '5c8d6769a791c390c873fef92134bf20bb20e82a'
skip_clean :la
fails_with :llvm do
build 2334
end
def install
# The datum grid files are required to support datum shifting
ProjDatumgrid.new.brew { cp Dir["*"], buildpath/'nad' }
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
|