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>
This commit is contained in:
G Coco 2012-12-06 14:01:19 -05:00 committed by Adam Vandenberg
parent 7c36e82e7d
commit 01f9487915

17
Formula/srmio.rb Normal file
View file

@ -0,0 +1,17 @@
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