homebrew-core/Formula/qwt.rb

19 lines
400 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Qwt < Formula
url 'http://sourceforge.net/projects/qwt/files/qwt/5.2.1/qwt-5.2.1.tar.bz2'
homepage 'http://qwt.sourceforge.net/'
md5 '4a595b8db0ec3856b117836c1d60cb27'
depends_on 'qt'
def install
inreplace 'qwtconfig.pri' do |s|
s.gsub! /\/usr\/local\/qwt-5\.2\.1/, prefix
end
system "qmake -config release"
system "make install"
end
end