homebrew-core/Formula/blink1.rb
Viktor Szakats 8a4c8b15a1 blink1: follow redirect, use https in homepage
Closes Homebrew/homebrew#42650.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-08-08 08:29:57 -07:00

27 lines
844 B
Ruby

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"
bottle do
cellar :any
sha256 "2e9f712db6e0443831f0a11388eaa39d427436dba52fae83761090d13140c47f" => :yosemite
sha256 "354dfc245bab10e35bc8c62e8d44fe883b7b8dff43c7962655b88571f044f448" => :mavericks
sha256 "214dd7f114200d9425bfa51bf52b7c46f48f4bd4668e193aaf3fb5a8fcfdb94d" => :mountain_lion
end
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"
end
end