homebrew-core/Formula/glew.rb
Nibbles 2bits 205183b90c glew-1.7.0: make all
This commit modifies the formula for glew-1.7.0, an OpenGL project, so
that it builds not only libGLEW, but two cli apps and libGLEWmx.

This compiles and works without error on 64bit OSX Snow Leopard, using
clang, llvm, or gcc from XCode 4.0.2.  Testing this library using a
first person space simulator shows no defects.

Closes Homebrew/homebrew#8272.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-15 16:53:08 -06:00

13 lines
384 B
Ruby

require 'formula'
class Glew < Formula
url 'http://downloads.sourceforge.net/project/glew/glew/1.7.0/glew-1.7.0.tgz'
homepage 'http://glew.sourceforge.net/'
md5 'fb7a8bb79187ac98a90b57f0f27a3e84'
def install
# Installs libGLEW, two cli apps, and libGLEWmx
system "make", "GLEW_DEST=#{prefix}", "all"
system "make", "GLEW_DEST=#{prefix}", "install.all"
end
end