summaryrefslogtreecommitdiff
path: root/packages/qwt/qwt_4.2.0rc1.bb
blob: 883bc5ae273708528150a93460c4a0455597efd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DESCRIPTION = "Qt Widget Extension for Technical Applications"
SECTION = "libs"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
DEPENDS = "virtual/libqte2"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tgz \
          file://qt2-fix.patch;patch=1"

inherit qmake

EXTRA_QMAKEVARS_POST = "CONFIG-=thread"

do_stage() {
	oe_libinstall -so -C lib libqwt ${STAGING_LIBDIR}
	cp -a include/* ${STAGING_INCDIR}
}

do_install() {
	install -d ${D}${libdir} \
		   ${D}${includedir}
	oe_libinstall -so -C lib libqwt ${D}${libdir}
	cp -a include/* ${D}${includedir}
}