homebrew-core/Formula/glfw.rb

15 lines
352 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Glfw < Formula
homepage 'http://www.glfw.org/'
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