mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +00:00
qwt: convert tabs to spaces.
Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -12,22 +12,22 @@ 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:qtAddLibrary(qwt:qtAddLibrary(qwt)${QT_LIBINFIX}:g' *.prf
|
||||
sed -e 's/# QWT_CONFIG += QwtExamples/QWT_CONFIG += QwtExamples/g' -i qwtconfig.pri
|
||||
sed -i -e 's:/usr/local/qwt-$$QWT_VERSION:${D}${prefix}:g' ${S}/*.pri
|
||||
sed -i -e 's:RELEASE_SUFFIX = :RELEASE_SUFFIX = ${QT_LIBINFIX}:' *.pri
|
||||
sed -i -e 's:qtAddLibrary(qwt:qtAddLibrary(qwt)${QT_LIBINFIX}:g' *.prf
|
||||
sed -e 's/# QWT_CONFIG += QwtExamples/QWT_CONFIG += QwtExamples/g' -i qwtconfig.pri
|
||||
sed -i -e 's:/usr/local/qwt-$$QWT_VERSION:${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
|
||||
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 "
|
||||
|
||||
Reference in New Issue
Block a user