homebrew-core/Formula/glew.rb
2011-03-12 11:55:09 -08:00

13 lines
350 B
Ruby

require 'formula'
class Glew < Formula
url 'http://downloads.sourceforge.net/project/glew/glew/1.5.8/glew-1.5.8.tgz'
homepage 'http://glew.sourceforge.net/'
md5 '342c8dc64fb9daa6af245b132e086bdd'
def install
(lib+'pkgconfig').mkpath
system "make", "GLEW_DEST=#{prefix}"
system "make", "GLEW_DEST=#{prefix}", "install"
end
end