[oe-users] bb file to use the new qtopia-core libs...
Michael 'Mickey' Lauer
mickey at vanille-media.de
Thu Jan 11 10:56:10 UTC 2007
You should add a classes/qt4e.bbclass that deals with setting the
environment variables. Have a look at qt3e.bbclass and qt4x11.bbclass
for inspirations.
Then, look at qmake-base which sets up the most common variables and
qmake.bbclass which automatically calls qmake for you, if you set S to
the proper source directory where the .pro file is found.
Then your bb file could be as simple as:
DESCRIPTION = "PCU ..."
SECTION = "?"
LICENSE = "?"
SRC_URI = "file://pcu-1.0.0.tar.bz2"
S = "${WORKDIR}/pcu"
inherit qmake qt4e
do_install() {
install -d ${D}${bindir}
install -m 0755 pcu ${D}${bindir}/pcu
}
Regards,
:M:
--
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
More information about the Openembedded-users
mailing list