From dc182fc3baca5766a41387dd8fa48cc440e00176 Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Sun, 13 Jan 2013 17:17:24 -0800 Subject: [PATCH] libmonome 1.2 Closes Homebrew/homebrew#17058. Signed-off-by: Adam Vandenberg --- Formula/libmonome.rb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Formula/libmonome.rb diff --git a/Formula/libmonome.rb b/Formula/libmonome.rb new file mode 100644 index 0000000000..ca4b4442b4 --- /dev/null +++ b/Formula/libmonome.rb @@ -0,0 +1,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