Qwt formula
The Qwt library contains GUI Components and utility classes which are primarily useful for programs with a technical background. Beside a 2D plot widget it provides scales, sliders, dials, compasses, thermometers, wheels and knobs to control or display values, arrays, or ranges of type double.
This commit is contained in:
parent
c906149093
commit
f175ebb0a1
1 changed files with 17 additions and 0 deletions
17
Formula/qwt.rb
Normal file
17
Formula/qwt.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
require 'formula'
|
||||
|
||||
class Qwt <Formula
|
||||
url 'http://downloads.sourceforge.net/project/qwt/qwt/5.1.2/qwt-5.1.2.tar.bz2'
|
||||
homepage 'http://qwt.sourceforge.net/'
|
||||
md5 'cb26a36f020d7c038e207b03b7d79bc5'
|
||||
|
||||
depends_on 'qt'
|
||||
|
||||
def install
|
||||
ENV.j1
|
||||
inreplace 'qwtconfig.pri', ' INSTALLBASE = /usr/local/qwt-5.1.2',
|
||||
" INSTALLBASE = #{prefix}"
|
||||
system "qmake -config release"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue