aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Coeurjolly2013-05-30 16:19:49 +0200
committerAdam Vandenberg2013-05-30 08:47:54 -0700
commit0c1ae8f8c7b60bbdda84cd7b3ab451c6fabb1333 (patch)
tree11a4ea1fc3c2b716cfa9c8de1228dc74263d38cd
parentcb37f02798d0cc138bc9b2be3c19f114a3e817d4 (diff)
downloadhomebrew-0c1ae8f8c7b60bbdda84cd7b3ab451c6fabb1333.tar.bz2
libqglviewer 2.4.0
Closes #20156. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/libqglviewer.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/libqglviewer.rb b/Library/Formula/libqglviewer.rb
index 47abd0d18..21f56d483 100644
--- a/Library/Formula/libqglviewer.rb
+++ b/Library/Formula/libqglviewer.rb
@@ -2,8 +2,10 @@ require 'formula'
class Libqglviewer < Formula
homepage 'http://www.libqglviewer.com/'
- url 'http://www.libqglviewer.com/src/libQGLViewer-2.3.17.tar.gz'
- sha1 '03b1da73bdb07988184c1f5d7c1c360be27b2a0e'
+ url 'http://www.libqglviewer.com/src/libQGLViewer-2.4.0.tar.gz'
+ sha1 '91e3c889822909dc3684e1be6d7f9ff734cc8047'
+
+ head 'https://github.com/GillesDebunne/libQGLViewer.git'
option :universal
@@ -31,11 +33,11 @@ end
__END__
--- a/QGLViewer/QGLViewer.pro
+++ b/QGLViewer/QGLViewer.pro
-@@ -246,7 +246,7 @@
+@@ -250,7 +250,7 @@
FRAMEWORK_HEADERS.path = Headers
QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
-- DESTDIR = ~/Library/Frameworks/
+- DESTDIR = $${HOME_DIR}/Library/Frameworks/
+ DESTDIR = $${PREFIX}
QMAKE_POST_LINK=cd $$DESTDIR/QGLViewer.framework/Headers && ln -s . QGLViewer