aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmonome.rb
blob: 3914d3b3c65dbf167042136364509d3b5cf5cf43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'formula'

class Libmonome < Formula
  homepage 'http://illest.net/libmonome/'
  url 'https://github.com/monome/libmonome/archive/1.2.tar.gz'
  sha1 'a53a232a7b24614c865b7cb536f80cb0219ff1d1'

  head 'https://github.com/monome/libmonome.git'

  bottle do
    revision 1
    sha1 "c0b250665b0c97d68575ff9aed7e74249be1661e" => :yosemite
    sha1 "71804657209d9292adbe3215cd44d9ce9894eb87" => :mavericks
    sha1 "0ef839a2f1d96cd546d9aef7d7eaafba1ce39668" => :mountain_lion
  end

  depends_on 'liblo'

  def install
    inreplace 'wscript', '-Werror', ''
    system "./waf", "configure", "--prefix=#{prefix}"
    system "./waf build"
    system "./waf install"
  end
end