do not install the headers with generic names like parser.h
in $STAGING_INCDIR but in a dedicated subdir
packages/libopietooth/libopietooth:
-create a common file (libopietooth1.inc)
-install the headers in a subdirectory
-adjust the 1.2.0 and cvs version to include the new file
packages/opie-bluetoothmanager/opie-bluetoothmanager:
-adjust to the new place for the header files
packages/opie-bluetoothapplet/opie-bluetoothapplet:
-adjust to the new place for the header files
-DESCRIPTION = "Opie Bluetooth library"
-SECTION = "opie/libs"
-PRIORITY = "optional"
-DEPENDS = "libopie2"
-MAINTAINER = "Team Opie <opie@handhelds.org>"
-LICENSE = "LGPL"
-
-
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/net/opietooth/lib"
-inherit opie
-
-
-S = "${WORKDIR}/lib"
+include libopietooth1.inc
-do_stage() {
- install -m 0644 *.h ${STAGING_INCDIR}/
- oe_libinstall -so libopietooth1 ${STAGING_LIBDIR}/
-}
-
-do_install() {
- oe_libinstall -so libopietooth1 ${D}${palmtopdir}/lib
-}
-DESCRIPTION = "Opie Bluetooth library"
-SECTION = "opie/libs"
-PRIORITY = "optional"
-DEPENDS = "libopie2"
-MAINTAINER = "Team Opie <opie@handhelds.org>"
-LICENSE = "LGPL"
-
SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/net/opietooth/lib"
PV = "1.2.0+cvs-${CVSDATE}"
-inherit opie
-
-S = "${WORKDIR}/lib"
-
-do_stage() {
- install -m 0644 *.h ${STAGING_INCDIR}/
- oe_libinstall -so libopietooth1 ${STAGING_LIBDIR}/
-}
-
-do_install() {
- oe_libinstall -so libopietooth1 ${D}${palmtopdir}/lib
-}
-
+include libopietooth1.inc
S = "${WORKDIR}/applet"
+EXTRA_QMAKEVARS_POST += " INCLUDEPATH+=${STAGING_INCDIR}/opietooth "
+
inherit opie
do_install() {
S = "${WORKDIR}/manager"
+EXTRA_QMAKEVARS_POST += " INCLUDEPATH+=${STAGING_INCDIR}/opietooth "
+
inherit opie
# Files: plugins/application/libbluetooth-manager.so* bin/bluetooth-manager apps/Settings/bluetooth-manager.desktop pics/opietooth/*