blob: fd515b4a2b151c3fdc95f52d10ad1b5f7c01d790 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 | require 'formula'
class Gpsbabel < Formula
  homepage 'http://www.gpsbabel.org'
  url "http://gpsbabel.googlecode.com/svn/trunk/gpsbabel", :revision => "4843"
  version "1.5.1"
  head 'http://gpsbabel.googlecode.com/svn/trunk/gpsbabel'
  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'
    system "./configure", *args
    system 'make', 'install'
  end
end
 |