[oe-commits] Koen Kooi : qwt 5.2.1: add recipes for /e and /x11 versions
git version control
git at git.openembedded.org
Mon Nov 1 13:26:36 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 720ef414283749422517f2bdb5d884b08121e1cd
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=720ef414283749422517f2bdb5d884b08121e1cd
Author: Koen Kooi <k-kooi at ti.com>
Date: Mon Oct 25 13:16:37 2010 +0200
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 <k-kooi at ti.com>
---
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(+), 0 deletions(-)
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 0000000..a9f3e38
--- /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 0000000..98117fb
--- /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 0000000..15e767c
--- /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"
+
More information about the Openembedded-commits
mailing list