glfw: add universal option

Closes Homebrew/homebrew#20320.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Hector Dearman 2013-06-07 03:55:01 +01:00 committed by Jack Nagel
parent 29ed9dba30
commit 8079df6228

View file

@ -5,7 +5,10 @@ class Glfw < Formula
url 'http://sourceforge.net/projects/glfw/files/glfw/2.7.8/glfw-2.7.8.zip'
sha1 'b4f51221ffed0a064bb413074544a530ae2751ec'
option :universal
def install
ENV.universal_binary if build.universal?
system 'make', "PREFIX=#{prefix}", 'cocoa-dist-install'
end
end