2013-01-14 01:17:24 +00:00
|
|
|
class Libmonome < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Interact with monome devices via C, Python, or FFI"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://illest.net/libmonome/"
|
|
|
|
url "https://github.com/monome/libmonome/archive/1.2.tar.gz"
|
|
|
|
sha256 "c4af0d1e029049e35e0afff148109f41f839afd7cbcd431a2632585e80c57190"
|
2013-01-14 01:17:24 +00:00
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
head "https://github.com/monome/libmonome.git"
|
2013-01-14 01:17:24 +00:00
|
|
|
|
2014-07-03 19:34:34 +00:00
|
|
|
bottle do
|
2014-10-20 08:39:11 +00:00
|
|
|
revision 1
|
2015-11-19 15:45:31 +00:00
|
|
|
sha256 "ea162837907418169e25792d8da975bf6d0d5be0c8cae54d10c743f5a720db31" => :yosemite
|
|
|
|
sha256 "4afd09ca96908afab0fa3ac91ed96ac70b7b7119a07a4dcfb106617f845e0586" => :mavericks
|
|
|
|
sha256 "238d0fd9c275ad66972a2dc784ec78926ec13a14b58acd9fd102a90b16cf265f" => :mountain_lion
|
2014-07-03 19:34:34 +00:00
|
|
|
end
|
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "liblo"
|
2013-01-14 01:17:24 +00:00
|
|
|
|
|
|
|
def install
|
2015-08-03 12:55:31 +00:00
|
|
|
inreplace "wscript", "-Werror", ""
|
2013-01-14 01:17:24 +00:00
|
|
|
system "./waf", "configure", "--prefix=#{prefix}"
|
|
|
|
system "./waf build"
|
|
|
|
system "./waf install"
|
|
|
|
end
|
|
|
|
end
|