Updated Qwt to 5.2.1
Closes Homebrew/homebrew#3748. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
ef4f2c9d45
commit
abf7143f2d
1 changed files with 6 additions and 5 deletions
|
@ -1,16 +1,17 @@
|
||||||
require 'formula'
|
require 'formula'
|
||||||
|
|
||||||
class Qwt <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/'
|
homepage 'http://qwt.sourceforge.net/'
|
||||||
md5 'cb26a36f020d7c038e207b03b7d79bc5'
|
md5 '4a595b8db0ec3856b117836c1d60cb27'
|
||||||
|
|
||||||
depends_on 'qt'
|
depends_on 'qt'
|
||||||
|
|
||||||
def install
|
def install
|
||||||
ENV.j1
|
inreplace 'qwtconfig.pri' do |s|
|
||||||
inreplace 'qwtconfig.pri', ' INSTALLBASE = /usr/local/qwt-5.1.2',
|
s.gsub! /\/usr\/local\/qwt-5\.2\.1/, prefix
|
||||||
" INSTALLBASE = #{prefix}"
|
end
|
||||||
|
|
||||||
system "qmake -config release"
|
system "qmake -config release"
|
||||||
system "make install"
|
system "make install"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue