homebrew-core/Formula/blink1.rb

28 lines
844 B
Ruby
Raw Normal View History

2014-06-19 03:26:08 +00:00
class Blink1 < Formula
desc "Control blink(1) indicator light"
homepage "https://blink1.thingm.com/"
url "https://github.com/todbot/blink1/archive/v1.97.tar.gz"
sha256 "974722b466249ee47ec27659b160d2e4fd0c2bc3732d009f180f8ffb53dc5d92"
head "https://github.com/todbot/blink1.git"
2014-06-19 03:26:08 +00:00
bottle do
cellar :any
2015-08-08 06:42:26 +00:00
sha256 "2e9f712db6e0443831f0a11388eaa39d427436dba52fae83761090d13140c47f" => :yosemite
sha256 "354dfc245bab10e35bc8c62e8d44fe883b7b8dff43c7962655b88571f044f448" => :mavericks
sha256 "214dd7f114200d9425bfa51bf52b7c46f48f4bd4668e193aaf3fb5a8fcfdb94d" => :mountain_lion
end
2014-06-19 03:26:08 +00:00
def install
cd "commandline" do
system "make"
bin.install "blink1-tool"
lib.install "libBlink1.dylib"
include.install "blink1-lib.h"
end
end
test do
system bin/"blink1-tool", "--version"
2014-06-19 03:26:08 +00:00
end
end