diff options
-rw-r--r-- | meta-oe/recipes-qt/qwt/qwt.inc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/meta-oe/recipes-qt/qwt/qwt.inc b/meta-oe/recipes-qt/qwt/qwt.inc index a9289f7c3..50f4e2af6 100644 --- a/meta-oe/recipes-qt/qwt/qwt.inc +++ b/meta-oe/recipes-qt/qwt/qwt.inc | |||
@@ -12,22 +12,22 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt \ | |||
12 | S = "${WORKDIR}/qwt-${PV}" | 12 | S = "${WORKDIR}/qwt-${PV}" |
13 | 13 | ||
14 | do_configure_prepend() { | 14 | do_configure_prepend() { |
15 | sed -i -e 's:RELEASE_SUFFIX = :RELEASE_SUFFIX = ${QT_LIBINFIX}:' *.pri | 15 | sed -i -e 's:RELEASE_SUFFIX = :RELEASE_SUFFIX = ${QT_LIBINFIX}:' *.pri |
16 | sed -i -e 's:qtAddLibrary(qwt:qtAddLibrary(qwt)${QT_LIBINFIX}:g' *.prf | 16 | sed -i -e 's:qtAddLibrary(qwt:qtAddLibrary(qwt)${QT_LIBINFIX}:g' *.prf |
17 | sed -e 's/# QWT_CONFIG += QwtExamples/QWT_CONFIG += QwtExamples/g' -i qwtconfig.pri | 17 | sed -e 's/# QWT_CONFIG += QwtExamples/QWT_CONFIG += QwtExamples/g' -i qwtconfig.pri |
18 | sed -i -e 's:/usr/local/qwt-$$QWT_VERSION:${D}${prefix}:g' ${S}/*.pri | 18 | sed -i -e 's:/usr/local/qwt-$$QWT_VERSION:${D}${prefix}:g' ${S}/*.pri |
19 | } | 19 | } |
20 | 20 | ||
21 | do_install() { | 21 | do_install() { |
22 | oe_runmake -e install | 22 | oe_runmake -e install |
23 | install -d ${D}${datadir}/doc/${PN} | 23 | install -d ${D}${datadir}/doc/${PN} |
24 | mv ${D}${prefix}/doc/* ${D}${datadir}/doc/${PN}/ | 24 | mv ${D}${prefix}/doc/* ${D}${datadir}/doc/${PN}/ |
25 | cd ${S}/examples | 25 | cd ${S}/examples |
26 | install -d ${D}/${bindir} | 26 | install -d ${D}/${bindir} |
27 | cd bin${QT_LIBINFIX}/ | 27 | cd bin${QT_LIBINFIX}/ |
28 | for i in * ; do | 28 | for i in * ; do |
29 | cp -pPR ${i} ${D}/${bindir}/${i}${QT_LIBINFIX} | 29 | cp -pPR ${i} ${D}/${bindir}/${i}${QT_LIBINFIX} |
30 | done | 30 | done |
31 | } | 31 | } |
32 | 32 | ||
33 | PACKAGES_prepend = "${PN}-examples " | 33 | PACKAGES_prepend = "${PN}-examples " |