Closes Homebrew/homebrew#12518.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Pascal Deschenes 2012-05-30 20:35:33 -04:00 committed by Adam Vandenberg
parent 29e7eb10ca
commit 6b84ff5ab3

16
Formula/gpsd.rb Normal file
View file

@ -0,0 +1,16 @@
require 'formula'
class Gpsd < Formula
homepage 'https://savannah.nongnu.org/projects/gpsd'
url 'http://download.savannah.gnu.org/releases/gpsd/gpsd-3.7.tar.gz'
sha1 '6e9ae7c1117102de4f96193a2fdd2778d87af045'
depends_on 'scons' => :build
depends_on 'libusb' => :optional
def install
system "scons", "chrpath=False", "python=False", "strip=False", "shared=False",
"prefix=#{prefix}/"
system "scons install"
end
end