homebrew-core/Formula/gpsbabel.rb

21 lines
573 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Gpsbabel < Formula
homepage 'http://www.gpsbabel.org'
# revision 4199 is version 1.4.4
url 'http://gpsbabel.googlecode.com/svn/trunk/gpsbabel', :revision => '4199'
version '1.4.4'
head 'http://gpsbabel.googlecode.com/svn/trunk/gpsbabel'
2013-09-12 14:51:26 +00:00
depends_on 'libusb' => :optional
def install
2013-09-13 13:51:59 +00:00
args = ['--disable-debug', '--disable-dependency-tracking',
"--prefix=#{prefix}", '--with-zlib=system']
args << '--without-libusb' if build.without? 'libusb'
system "./configure", *args
system 'make', 'install'
end
end