Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DESCRIPTION = "Qt Widget Extension for Technical Applications"
- SECTION = "libs"
- # LGPLv2.1 + some exceptions
- LICENSE = "QWTv1.0"
- LIC_FILES_CHKSUM = "file://COPYING;md5=dac2743472b0462ff3cfb4af42051c88"
- require recipes-qt/qt5/qt5.inc
- SRCREV = "${AUTOREV}"
- PV = "0.0.1"
- SRC_URI = "svn://svn.code.sf.net/p/qwt/code/branches/;module=qwt-6.1;protocol=svn"
- S = "${WORKDIR}/qwt-6.1"
- DEPENDS = "qtbase"
- RDEPENDS_${PN} = "qtbase"
- do_configure_prepend () {
- sed -i -e 's:QWT_CONFIG += QwtDesigner:#QWT_CONFIG += QwtDesigner:' ${S}/qwtconfig.pri
- sed -i -e 's:QWT_CONFIG += QwtOpenGL:#QWT_CONFIG += QwtOpenGL:' ${S}/qwtconfig.pri
- sed -i -e 's:QWT_CONFIG += QwtExamples:#QWT_CONFIG += QwtExamples:' ${S}/qwtconfig.pri
- sed -i -e 's:QWT_CONFIG += QwtSvg:#QWT_CONFIG += QwtSvg:' ${S}/qwtconfig.pri
- }
- do_install() {
- install -d ${D}${libdir}
- install -m 0755 lib/libqwt.so ${D}${libdir}
- install -m 0755 lib/libqwt.so.6 ${D}${libdir}
- install -m 0755 lib/libqwt.so.6.1 ${D}${libdir}
- install -m 0755 lib/libqwt.so.6.1.4 ${D}${libdir}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement