diff options
| author | Ole Kristensen | 2014-03-24 08:09:45 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-24 14:52:59 +0000 |
| commit | 41c113f3f6fdcda86104b70be14885320e1ce42d (patch) | |
| tree | c9fd5886ae9cbb4d0cea377f4672dd13370f6d4a /Library | |
| parent | dfb7f8200ac4e6cdbc161372a87d0e429a3bee91 (diff) | |
| download | homebrew-41c113f3f6fdcda86104b70be14885320e1ce42d.tar.bz2 | |
ola 0.9.0
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ola.rb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Library/Formula/ola.rb b/Library/Formula/ola.rb new file mode 100644 index 000000000..c57d898bb --- /dev/null +++ b/Library/Formula/ola.rb @@ -0,0 +1,32 @@ +require "formula" + +class Ola < Formula + homepage "http://www.openlighting.org" + url "https://github.com/OpenLightingProject/ola/releases/download/0.9.0/ola-0.9.0.tar.gz" + sha1 "aff9bf0802d4e6fcbdc5a2ffcdb7ba25d67fd209" + + option :universal + + depends_on 'pkg-config' => :build + depends_on "cppunit" + depends_on "protobuf-c" + depends_on "libmicrohttpd" + depends_on "libusb" + depends_on "liblo" + + def install + ENV.universal_binary if build.universal? + + system "./configure", "--disable-debug", + "--disable-fatal-warnings", + "--disable-dependency-tracking", + "--disable-silent-rules", + "--prefix=#{prefix}" + + system "make", "install" + end + + test do + system "ola_plugin_info" + end +end |
