From eedc2ba90847aee772aee872b372f22d1dd93f88 Mon Sep 17 00:00:00 2001 From: Charles Karney Date: Sat, 16 Aug 2014 17:55:57 -0400 Subject: tidy up geographiclib.rb --- Library/Formula/geographiclib.rb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3