homebrew-core/Formula/gpsd.rb

20 lines
632 B
Ruby
Raw Normal View History

class Gpsd < Formula
desc "Global Positioning System (GPS) daemon"
homepage "http://catb.org/gpsd/"
url "http://download.savannah.gnu.org/releases/gpsd/gpsd-3.9.tar.gz"
sha256 "d9b24be838b48db5e8eba66f74edf32d1982fe0fb018c9d9a7ad1ada9f189d5a"
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"
sha256 "b3c4627cd75fd5869ab692e443bbcd0e8406e6d38f732ad43f1d9ed9952cf3c1"
end
def install
scons "chrpath=False", "python=False", "strip=False", "prefix=#{prefix}/"
2014-02-25 15:46:57 +00:00
scons "install"
end
end