homebrew-core/Formula/glew.rb

14 lines
392 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Glew < Formula
homepage 'http://glew.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/glew/glew/1.10.0/glew-1.10.0.tgz'
sha1 'f41b45ca4a630ad1d00b8b87c5f493781a380300'
def install
inreplace "glew.pc.in", "Requires: glu", ""
system "make", "GLEW_DEST=#{prefix}", "all"
system "make", "GLEW_DEST=#{prefix}", "install.all"
end
end