diff options
| author | Thomas Cioppettini | 2013-07-06 22:44:41 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-30 10:48:38 -0700 |
| commit | e1361cfc4b8ca4869aa98fb25968053cc8ca9dbc (patch) | |
| tree | 2e58331eeaff535627ab056097e4e278543dc9f5 /Library/Formula/pgrouting.rb | |
| parent | 096f0248314e4f05a56e32b8131c36b3bfe6c8b5 (diff) | |
| download | homebrew-e1361cfc4b8ca4869aa98fb25968053cc8ca9dbc.tar.bz2 | |
pgrouting 2.0.0-rc1
Closes #21965.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/pgrouting.rb')
| -rw-r--r-- | Library/Formula/pgrouting.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/pgrouting.rb b/Library/Formula/pgrouting.rb new file mode 100644 index 000000000..de86558ce --- /dev/null +++ b/Library/Formula/pgrouting.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Pgrouting < Formula + homepage 'http://www.pgrouting.org' + url "https://github.com/pgRouting/pgrouting/archive/v2.0.0-rc1.tar.gz" + version "2.0.0-rc1" + sha1 "481077067c754a92f82dabaeaa2a9140881bda25" + + depends_on 'cmake' => :build + depends_on 'boost' + depends_on 'cgal' + depends_on 'postgis' + depends_on 'postgresql' + + def install + mkdir 'build' do + system "cmake", "-DWITH_DD=ON", "..", *std_cmake_args + system "make", "install" + end + end +end |
