diff options
| author | Max Howell | 2009-11-05 18:14:59 +0000 |
|---|---|---|
| committer | Max Howell | 2009-11-07 18:22:34 +0000 |
| commit | ad4abdc6fed5ccb90b6159b0632c61372307aefd (patch) | |
| tree | c99130a5c378acc4d1b29fbf8921e6ded8b9a449 | |
| parent | 82ec431d3c250cf7fc95e5d8181149827e32fb9c (diff) | |
| download | homebrew-ad4abdc6fed5ccb90b6159b0632c61372307aefd.tar.bz2 | |
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.
| -rw-r--r-- | Library/Formula/qwt.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/qwt.rb b/Library/Formula/qwt.rb new file mode 100644 index 000000000..ab49ff048 --- /dev/null +++ b/Library/Formula/qwt.rb @@ -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 |
