From 720ef414283749422517f2bdb5d884b08121e1cd Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 25 Oct 2010 13:16:37 +0200 Subject: qwt 5.2.1: add recipes for /e and /x11 versions * QT/e apps using this lib will need some s/qwt/qwt$QTLIBINFIX/g love Signed-off-by: Koen Kooi --- recipes/qwt/qwt-e_5.2.1.bb | 7 +++++++ recipes/qwt/qwt.inc | 23 +++++++++++++++++++++++ recipes/qwt/qwt_5.2.1.bb | 7 +++++++ 3 files changed, 37 insertions(+) create mode 100644 recipes/qwt/qwt-e_5.2.1.bb create mode 100644 recipes/qwt/qwt.inc create mode 100644 recipes/qwt/qwt_5.2.1.bb diff --git a/recipes/qwt/qwt-e_5.2.1.bb b/recipes/qwt/qwt-e_5.2.1.bb new file mode 100644 index 0000000000..a9f3e38fda --- /dev/null +++ b/recipes/qwt/qwt-e_5.2.1.bb @@ -0,0 +1,7 @@ +inherit qt4e + +require qwt.inc + +SRC_URI[qwt.md5sum] = "4a595b8db0ec3856b117836c1d60cb27" +SRC_URI[qwt.sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f" + diff --git a/recipes/qwt/qwt.inc b/recipes/qwt/qwt.inc new file mode 100644 index 0000000000..98117fb401 --- /dev/null +++ b/recipes/qwt/qwt.inc @@ -0,0 +1,23 @@ +DESCRIPTION = "Qt Widget Extension for Technical Applications" +SECTION = "libs" +PRIORITY = "optional" + +# LGPLv2.1 + some exceptions +LICENSE = "QWTv1.0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt" + +S = "${WORKDIR}/qwt-${PV}" + +do_configure_prepend() { + sed -i -e 's:RELEASE_SUFFIX = :RELEASE_SUFFIX = ${QT_LIBINFIX}:' *.pri + sed -i -e s:lqwt:lqwt${QT_LIBINFIX}:g -e s:/usr/local/qwt-$\${QwtVersion}:${prefix}:g *.prf +} + +do_install() { + sed -i -e s:/usr/local/qwt-${PV}:${D}${prefix}:g ${S}/*.pri + oe_runmake -e install + install -d ${D}${datadir}/doc/${PN} + mv ${D}${prefix}/doc/* ${D}${datadir}/doc/${PN}/ +} + diff --git a/recipes/qwt/qwt_5.2.1.bb b/recipes/qwt/qwt_5.2.1.bb new file mode 100644 index 0000000000..15e767c9c3 --- /dev/null +++ b/recipes/qwt/qwt_5.2.1.bb @@ -0,0 +1,7 @@ +inherit qt4x11 + +require qwt.inc + +SRC_URI[qwt.md5sum] = "4a595b8db0ec3856b117836c1d60cb27" +SRC_URI[qwt.sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f" + -- cgit 1.2.3-korg