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

class Libmonome < Formula
  homepage 'http://illest.net/libmonome/'
  url 'https://github.com/monome/libmonome/tarball/1.2'
  sha1 '91ed3f7246e2f9462ff43c257fae5e34006a4c85'

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

  depends_on 'liblo'

  fails_with :clang do
    build 421
    cause 'waf fails to find g++ when compiling with clang'
  end

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

end