homebrew-core/Formula/gpsd.rb

21 lines
567 B
Ruby
Raw Normal View History

require 'formula'
class Gpsd < Formula
homepage 'http://catb.org/gpsd/'
url 'http://download.savannah.gnu.org/releases/gpsd/gpsd-3.9.tar.gz'
sha1 'ff1db303000910d7cb7bfc3a75c97a0800df0f1b'
depends_on 'scons' => :build
depends_on 'libusb' => :optional
2014-03-17 00:35:08 +00:00
patch :p0 do
url "https://trac.macports.org/export/113474/trunk/dports/net/gpsd/files/string.patch"
sha1 "7f6bacc0379282bf27b05d754807000680befb26"
end
def install
2014-02-25 15:46:57 +00:00
scons "chrpath=False", "python=False", "strip=False", "shared=False", "prefix=#{prefix}/"
scons "install"
end
end