32 |
|
|
33 |
# use versionized include dirs to not conflict with qwt pkg! |
# use versionized include dirs to not conflict with qwt pkg! |
34 |
cat > qwtconfig.pri <<-EOF |
cat > qwtconfig.pri <<-EOF |
35 |
QWT_INSTALL_LIBS = /usr/$(mlibdir) |
target.path = /usr/$(mlibdir) |
36 |
QWT_INSTALL_HEADERS = /usr/include/qwt${PVER:0:1} |
headers.path = /usr/include/qwt${PVER:0:1} |
37 |
QWT_INSTALL_DOCS = /usr/share/doc/${PNAME}-${PVER} |
doc.path = /usr/share/doc/${PNAME}-${PVER} |
38 |
QWT_CONFIG += QwtDll QwtPlot QwtWidgets QwtDesigner |
CONFIG += qt warn_on thread release |
39 |
|
CONFIG += QwtDll QwtPlot QwtWidgets QwtDesigner |
40 |
VERSION = ${PVER} |
VERSION = ${PVER} |
|
QWT_INSTALL_PLUGINS = ${QTDIR}/$(mlibdir)/qt/plugins/designer |
|
|
QWT_INSTALL_FEATURES = ${QTDIR}/$(mlibdir)/qt/features |
|
|
EOF |
|
|
|
|
|
# enable svg support |
|
|
echo "CONFIG += QwtSVGItem" >> qwtconfig.pri || die |
|
|
|
|
|
# build options |
|
|
cat > qwtbuild.pri <<-EOF |
|
|
QWT_CONFIG += qt warn_on thread release no_keywords |
|
41 |
EOF |
EOF |
42 |
|
|
43 |
# don't build examples - fix the qt files to build once installed |
# don't build examples - fix the qt files to build once installed |