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:
parent
7c36e82e7d
commit
01f9487915
1 changed files with 17 additions and 0 deletions
17
Formula/srmio.rb
Normal file
17
Formula/srmio.rb
Normal 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
|
Loading…
Reference in a new issue