homebrew-core/Formula/srmio.rb
G Coco 01f9487915 srmio 0.1
srmio is a small C library to access the PowerControl
of a SRM bike power meter. It's implementing the serial
communication protocol to the PowerControls V, VI and 7.

Closes Homebrew/homebrew#16447.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-31 11:35:21 -08:00

17 lines
416 B
Ruby

require 'formula'
class Srmio < Formula
homepage 'http://www.zuto.de/project/srmio/'
url 'http://www.zuto.de/project/files/srmio/srmio-0.1.0.tar.gz'
sha1 '681fdf78ea0eae889fa93c929c5806da78fcca15'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/srmcmd", "--help"
end
end