2014-06-19 03:26:08 +00:00
|
|
|
class Blink1 < Formula
|
|
|
|
homepage "http://thingm.com/products/blink-1.html"
|
2015-02-04 18:15:56 +00:00
|
|
|
url "https://github.com/todbot/blink1/archive/v1.96.tar.gz"
|
|
|
|
sha1 "474487e72afa22b3dced246571546e8a6f49c939"
|
2014-06-30 23:44:35 +00:00
|
|
|
head "https://github.com/todbot/blink1.git"
|
2014-06-19 03:26:08 +00:00
|
|
|
|
2014-06-20 18:45:56 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-02-04 20:47:55 +00:00
|
|
|
sha1 "68e5d21d7afd4378a3b6ee7a5ef94dc6f917bbcf" => :yosemite
|
|
|
|
sha1 "eeeeb080650caefd4c221999b57a67f0dfc10e6f" => :mavericks
|
|
|
|
sha1 "4de3e19fe8ff7d3a4736c8a947adcd05dd37abf2" => :mountain_lion
|
2014-06-20 18:45:56 +00:00
|
|
|
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
|
2015-02-04 18:15:56 +00:00
|
|
|
system bin/"blink1-tool", "--version"
|
2014-06-19 03:26:08 +00:00
|
|
|
end
|
|
|
|
end
|