qwt: remove options
This commit is contained in:
parent
ea4b0ea882
commit
e1e4595608
1 changed files with 0 additions and 21 deletions
|
@ -13,8 +13,6 @@ class Qwt < Formula
|
|||
sha256 "81fcb45fea416bc89e99b213d991c08ccb3ed34ef7da67346a273f8a1f203293" => :yosemite
|
||||
end
|
||||
|
||||
option "with-qwtmathml", "Build the qwtmathml library"
|
||||
|
||||
depends_on "qt"
|
||||
|
||||
# Update designer plugin linking back to qwt framework/lib after install
|
||||
|
@ -38,30 +36,11 @@ class Qwt < Formula
|
|||
args << "macx-g++"
|
||||
end
|
||||
|
||||
if build.with? "qwtmathml"
|
||||
args << "QWT_CONFIG+=QwtMathML"
|
||||
prefix.install "textengines/mathml/qtmmlwidget-license"
|
||||
end
|
||||
|
||||
system "qmake", *args
|
||||
system "make"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
def caveats
|
||||
s = ""
|
||||
|
||||
if build.with? "qwtmathml"
|
||||
s += <<~EOS
|
||||
The qwtmathml library contains code of the MML Widget from the Qt solutions package.
|
||||
Beside the Qwt license you also have to take care of its license:
|
||||
#{opt_prefix}/qtmmlwidget-license
|
||||
EOS
|
||||
end
|
||||
|
||||
s
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"test.cpp").write <<~EOS
|
||||
#include <qwt_plot_curve.h>
|
||||
|
|
Loading…
Reference in a new issue