From 6b84ff5ab31c68ac9d496d8d27d742da0c8e7b3a Mon Sep 17 00:00:00 2001 From: Pascal Deschenes Date: Wed, 30 May 2012 20:35:33 -0400 Subject: [PATCH] gpsd 3.7 Closes Homebrew/homebrew#12518. Signed-off-by: Adam Vandenberg --- Formula/gpsd.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Formula/gpsd.rb diff --git a/Formula/gpsd.rb b/Formula/gpsd.rb new file mode 100644 index 0000000000..6a27ec2d20 --- /dev/null +++ b/Formula/gpsd.rb @@ -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