homebrew-core/Formula/blink1.rb

27 lines
711 B
Ruby
Raw Normal View History

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