diff options
| -rw-r--r-- | Library/Formula/qwt.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/qwt.rb b/Library/Formula/qwt.rb index ab49ff048..6212ef294 100644 --- a/Library/Formula/qwt.rb +++ b/Library/Formula/qwt.rb @@ -1,16 +1,17 @@ require 'formula' class Qwt <Formula - url 'http://downloads.sourceforge.net/project/qwt/qwt/5.1.2/qwt-5.1.2.tar.bz2' + url 'http://sourceforge.net/projects/qwt/files/qwt/5.2.1/qwt-5.2.1.tar.bz2' homepage 'http://qwt.sourceforge.net/' - md5 'cb26a36f020d7c038e207b03b7d79bc5' + md5 '4a595b8db0ec3856b117836c1d60cb27' depends_on 'qt' def install - ENV.j1 - inreplace 'qwtconfig.pri', ' INSTALLBASE = /usr/local/qwt-5.1.2', - " INSTALLBASE = #{prefix}" + inreplace 'qwtconfig.pri' do |s| + s.gsub! /\/usr\/local\/qwt-5\.2\.1/, prefix + end + system "qmake -config release" system "make install" end |
