homebrew-core/Formula/glfw.rb

15 lines
359 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://downloads.sourceforge.net/project/glfw/glfw/2.7.9/glfw-2.7.9.tar.bz2'
sha1 '50ffcbfa1fb47d23aa6ad1245da329bd21bbaeca'
option :universal
def install
ENV.universal_binary if build.universal?
system 'make', "PREFIX=#{prefix}", 'cocoa-dist-install'
end
end