2010-04-20 14:29:26 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gpsbabel < Formula
|
2010-04-20 14:29:26 +00:00
|
|
|
homepage 'http://www.gpsbabel.org'
|
2012-10-01 11:27:47 +00:00
|
|
|
# revision 4199 is version 1.4.4
|
|
|
|
url 'http://gpsbabel.googlecode.com/svn/trunk/gpsbabel', :revision => '4199'
|
|
|
|
version '1.4.4'
|
2012-04-10 08:51:03 +00:00
|
|
|
|
2011-09-23 04:12:26 +00:00
|
|
|
head 'http://gpsbabel.googlecode.com/svn/trunk/gpsbabel'
|
2010-04-20 14:29:26 +00:00
|
|
|
|
2013-09-12 14:51:26 +00:00
|
|
|
depends_on 'libusb' => :optional
|
2010-04-20 14:29:26 +00:00
|
|
|
|
|
|
|
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'
|
2010-04-20 14:29:26 +00:00
|
|
|
end
|
|
|
|
end
|