homebrew-core/Formula/glew.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

13 lines
392 B
Ruby

require 'formula'
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