aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNibbles 2bits2011-10-24 13:02:37 -0700
committerJack Nagel2011-12-15 16:53:08 -0600
commit62510ae828688073caee2eea5d56e808e49444c8 (patch)
treeec06d024fc36f2a6cd9613bb353f33c55e4e5cb7 /Library/Formula
parent882076cf0baaabd4c0e61a6108b43206ff2545e8 (diff)
downloadhomebrew-62510ae828688073caee2eea5d56e808e49444c8.tar.bz2
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 #8272. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/glew.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/glew.rb b/Library/Formula/glew.rb
index b338c5f5e..616c33b65 100644
--- a/Library/Formula/glew.rb
+++ b/Library/Formula/glew.rb
@@ -6,6 +6,8 @@ class Glew < Formula
md5 'fb7a8bb79187ac98a90b57f0f27a3e84'
def install
- system "make", "GLEW_DEST=#{prefix}", "install"
+ # Installs libGLEW, two cli apps, and libGLEWmx
+ system "make", "GLEW_DEST=#{prefix}", "all"
+ system "make", "GLEW_DEST=#{prefix}", "install.all"
end
end