ola 0.9.3

Version bump & added HEAD.

Closes Homebrew/homebrew#34594.

Closes Homebrew/homebrew#34595.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Dominyk Tiller 2014-12-01 21:39:07 +00:00 committed by Mike McQuaid
parent 8b0cce9f25
commit 0304c8303a

View file

@ -2,8 +2,8 @@ require "formula"
class Ola < Formula
homepage "http://www.openlighting.org/ola/"
url "https://github.com/OpenLightingProject/ola/releases/download/0.9.2/ola-0.9.2.tar.gz"
sha1 "f9cedbb9bf8e568803f296b7ec8bdfcf74ae5bab"
url "https://github.com/OpenLightingProject/ola/releases/download/0.9.3/ola-0.9.3.tar.gz"
sha1 "f6a81087761218063a4bb8006b73ffa407cd0170"
bottle do
sha1 "d9f67796fc3228e94d07cead6a91dfccbe3a2f2b" => :mavericks
@ -11,6 +11,14 @@ class Ola < Formula
sha1 "de23fe04b9a29273c61d58287d540f90db9ab662" => :lion
end
head do
url "https://github.com/OpenLightingProject/ola.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
option :universal
depends_on "pkg-config" => :build
@ -19,22 +27,25 @@ class Ola < Formula
depends_on "libmicrohttpd"
depends_on "libusb"
depends_on "liblo"
depends_on "ossp-uuid"
depends_on :python => :optional
depends_on "doxygen" => :optional
def install
ENV.universal_binary if build.universal?
args = %W[
--disable-debug
--disable-fatal-warnings
--disable-dependency-tracking
--disable-silent-rules
--prefix=#{prefix}
]
args << "--enable-python-libs" if build.with? "python"
args << "--enable-doxygen-man" if build.with? "doxygen"
system "autoreconf", "-i" if build.head?
system "./configure", *args
system "make", "install"
end