Skip to content

Commit

Permalink
gpsbabel: use https homepage, fix style nits
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#41641.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
vszakats authored and DomT4 committed Jul 12, 2015
1 parent 03aa654 commit 24dbcc0
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Formula/gpsbabel.rb
@@ -1,27 +1,25 @@
require 'formula'

class Gpsbabel < Formula
desc "GPSBabel converts/uploads GPS waypoints, tracks, and routes"
homepage 'http://www.gpsbabel.org'
homepage "https://www.gpsbabel.org/"
url "http://gpsbabel.googlecode.com/svn/trunk/gpsbabel", :revision => "4962"
version "1.5.2"

head 'http://gpsbabel.googlecode.com/svn/trunk/gpsbabel'
head "http://gpsbabel.googlecode.com/svn/trunk/gpsbabel"

bottle do
sha256 "029bee003e90047bfe0d68958e72c1aa638d8eb57aa70a176ef0585d71a9a548" => :yosemite
sha256 "056e9b4f345b1b3fa8138e2381de434da7a5eb7a876859009f89905f9b5a4a61" => :mavericks
sha256 "6a594e455bb92b69c35131f46fdd3eb3a651c012fa549fe927e8010dd6e4d4fd" => :mountain_lion
end

depends_on 'libusb' => :optional
depends_on "libusb" => :optional
depends_on "qt"

def install
args = ['--disable-debug', '--disable-dependency-tracking',
"--prefix=#{prefix}", '--with-zlib=system']
args << '--without-libusb' if build.without? 'libusb'
args = ["--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--with-zlib=system"]
args << "--without-libusb" if build.without? "libusb"
system "./configure", *args
system 'make', 'install'
system "make", "install"
end
end

0 comments on commit 24dbcc0

Please sign in to comment.