blob: 03a8612a4270bb1be9219e5d89e5ea88cd78a922 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  | 
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'
  depends_on 'liblo'
  fails_with :clang do
    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
  |