this recipe compiles the latest stable version of the QT Widgets for Technical Applications against qt4-embedded. A specific package was created for the example applications.
Signed-off-by: Eric Bénard <[email protected]> --- recipes/qwt/qwt_5.2.1.bb | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) create mode 100644 recipes/qwt/qwt_5.2.1.bb diff --git a/recipes/qwt/qwt_5.2.1.bb b/recipes/qwt/qwt_5.2.1.bb new file mode 100644 index 0000000..aecee9e --- /dev/null +++ b/recipes/qwt/qwt_5.2.1.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "Qt Widget Extension for Technical Applications" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "QWT+LGPL" +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}/${PV}/${PN}-${PV}.tar.bz2 \ + " + +inherit qt4e + +do_configure_prepend() { + sed -e 's#/usr/local/qwt-5.2.1#/usr#g' -i qwtconfig.pri + sed -e 's/#CONFIG += QwtExamples/CONFIG += QwtExamples/g' -i qwtconfig.pri +} +do_install() { + make install INSTALL_ROOT=${D} + cd examples + install -d ${D}/${bindir} + cp -pPR bin/* ${D}/${bindir} + install -d ${D}/${docdir}/${PN}-${PV} + mv ${D}/usr/doc/html/* ${D}/${docdir}/${PN}-${PV} + install -d ${D}${mandir}/ + mv ${D}/usr/doc/man/* ${D}${mandir}/ +} + +PACKAGES += "${PN}-examples" + +FILES_${PN}-examples = "${bindir}/*" +FILES_${PN} = "${libdir}/*.so.*" + +SRC_URI[md5sum] = "4a595b8db0ec3856b117836c1d60cb27" +SRC_URI[sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f" -- 1.6.3.3 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
