qwt: import from openembedded.dev

The only change between openembedded.dev and meta-openembedded was
  the addition of LIC_FILES_CHKSUM

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Denis
2011-09-15 17:42:36 +00:00
committed by Koen Kooi
parent 7e765842a9
commit 3e4a843596
3 changed files with 49 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
inherit qt4e
require qwt.inc
SRC_URI[qwt.md5sum] = "4a595b8db0ec3856b117836c1d60cb27"
SRC_URI[qwt.sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f"
RPROVIDES_${PN}-dev = "libqwt-dev"
+33
View File
@@ -0,0 +1,33 @@
DESCRIPTION = "Qt Widget Extension for Technical Applications"
SECTION = "libs"
PRIORITY = "optional"
# LGPLv2.1 + some exceptions
LICENSE = "QWTv1.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=dac2743472b0462ff3cfb4af42051c88"
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
sed -e 's/#CONFIG += QwtExamples/CONFIG += QwtExamples/g' -i qwtconfig.pri
sed -i -e s:/usr/local/qwt-${PV}:${D}${prefix}:g ${S}/*.pri
}
do_install() {
oe_runmake -e install
install -d ${D}${datadir}/doc/${PN}
mv ${D}${prefix}/doc/* ${D}${datadir}/doc/${PN}/
cd ${S}/examples
install -d ${D}/${bindir}
cd bin${QT_LIBINFIX}/
for i in * ; do
cp -pPR ${i} ${D}/${bindir}/${i}${QT_LIBINFIX}
done
}
PACKAGES_prepend = "${PN}-examples "
FILES_${PN}-examples = "${bindir}/*"
+8
View File
@@ -0,0 +1,8 @@
inherit qt4x11
require qwt.inc
SRC_URI[qwt.md5sum] = "4a595b8db0ec3856b117836c1d60cb27"
SRC_URI[qwt.sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f"
RPROVIDES_${PN}-dev = "libqwt-dev"