aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/geographiclib.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/Library/Formula/geographiclib.rb b/Library/Formula/geographiclib.rb
index f8b04e644..4ab137621 100644
--- a/Library/Formula/geographiclib.rb
+++ b/Library/Formula/geographiclib.rb
@@ -1,7 +1,5 @@
require "formula"
-
class Geographiclib < Formula
-
homepage "http://geographiclib.sourceforge.net/"
url "https://downloads.sourceforge.net/project/geographiclib/distrib/GeographicLib-1.37.tar.gz"
sha1 "d18d0c94824fb303ce8942d622bdef78833108cd"
@@ -9,15 +7,13 @@ class Geographiclib < Formula
depends_on "cmake" => :build
def install
-
- # GeographicLib makes a Release build if CMAKE_BUILD_TYPE is'nt set.
+ # GeographicLib makes a Release build if CMAKE_BUILD_TYPE isn't set.
args = std_cmake_args - %w{-DCMAKE_BUILD_TYPE=None}
- Dir.mkdir 'BUILD'
- Dir.chdir 'BUILD' do
+ mkdir 'build'
+ chdir 'build' do
system 'cmake', *args, '..'
system 'make install'
end
-
end
test do