Add geographiclib.rb

This adds a formula for GeographicLib 1.37.  In the past year GeographicLib has been downloaded 8000 times from sourceforge.  But only 700 of these downloads are for MacOSX.  It's time to make it easier to deploy GeographicLib.
On 08/16/2014 05:43 PM, Adam Vandenberg wrote:
> In Library/Formula/geographiclib.rb:
>
>> +  homepage "http://geographiclib.sourceforge.net/"
>> +  url "https://downloads.sourceforge.net/project/geographiclib/distrib/GeographicLib-1.37.tar.gz"
>> +  sha1 "d18d0c94824fb303ce8942d622bdef78833108cd"
>> +
>> +  depends_on "cmake" => :build
>> +
>> +  def install
>> +
>> +    # GeographicLib makes a Release build if CMAKE_BUILD_TYPE is'nt set.
>> +    args = std_cmake_args - %w{-DCMAKE_BUILD_TYPE=None}
>> +    Dir.mkdir 'BUILD'
>> +    Dir.chdir 'BUILD' do
>> +      system 'cmake', *args, '..'
>> +      system 'make install'
>> +    end
>> +
>
> Remove this newline.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Homebrew/homebrew/pull/31645/files#r16326850>.
>

I've pushed some edits (remove newlines, Dir.mkdir -> mkdir,
BUILD -> build).