summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-10-29 15:12:31 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-10-29 15:12:31 +0000
commitd1e9a090845ae5a8082d2bb0aeec9982e7544cdf (patch)
treef38d7e2432ff1ce3c735d95db12c77135939b35b
parentc4301a4f782a2260ba2d7209f6e99d13f2d7676d (diff)
libqpe: create -dev/-dbg packages - based on code from .oz354x
-rw-r--r--packages/libqpe/libqpe-opie.inc24
-rw-r--r--packages/libqpe/libqpe-opie_1.2.2.bb1
-rw-r--r--packages/libqpe/libqpe-opie_cvs.bb1
3 files changed, 23 insertions, 3 deletions
diff --git a/packages/libqpe/libqpe-opie.inc b/packages/libqpe/libqpe-opie.inc
index 6f989f9105..832aff7cd0 100644
--- a/packages/libqpe/libqpe-opie.inc
+++ b/packages/libqpe/libqpe-opie.inc
@@ -54,8 +54,26 @@ do_stage() {
do_install() {
oe_libinstall -so libqpe ${D}${palmtopdir}/lib
+
+ install -d ${D}${includedir}/qpe \
+ ${D}${includedir}/qtopia/private
+
+ for i in ${S}/*.h
+ do
+ install -m 0644 $i ${D}${includedir}/qpe/`basename $i`
+ install -m 0644 $i ${D}${includedir}/qtopia/`basename $i`
+ install -m 0644 $i ${D}${includedir}/qtopia/private/`basename $i`
+ done
+ for i in ${S}/backend/*.h
+ do
+ install -m 0644 $i ${D}${includedir}/qpe/`basename $i`
+ install -m 0644 $i ${D}${includedir}/qtopia/`basename $i`
+ install -m 0644 $i ${D}${includedir}/qtopia/private/`basename $i`
+ done
+ rm -f ${D}${includedir}/qtopia/*_p.h # remove private stuff out of qtopia
}
-PACKAGES = "libqpe1"
-FILES_libqpe1 = "${palmtopdir}/lib"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
+FILES_${PN} = "${palmtopdir}/lib/libqpe.so.*"
+FILES_${PN}-dev = "${includedir} ${palmtopdir}/lib/*"
+FILES_${PN}-dbg = "${palmtopdir}/lib/.debug/"
+PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
diff --git a/packages/libqpe/libqpe-opie_1.2.2.bb b/packages/libqpe/libqpe-opie_1.2.2.bb
index 890d72b0ef..f2ea872158 100644
--- a/packages/libqpe/libqpe-opie_1.2.2.bb
+++ b/packages/libqpe/libqpe-opie_1.2.2.bb
@@ -1,5 +1,6 @@
require ${PN}.inc
+PR = "r1"
TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/library \
diff --git a/packages/libqpe/libqpe-opie_cvs.bb b/packages/libqpe/libqpe-opie_cvs.bb
index 076e14bc7c..3dafddcf0a 100644
--- a/packages/libqpe/libqpe-opie_cvs.bb
+++ b/packages/libqpe/libqpe-opie_cvs.bb
@@ -2,6 +2,7 @@ require ${PN}.inc
# Remove the dash below when 1.2.1 changes
PV = "1.2.2+cvs-${SRCDATE}"
+PR = "r1"
SRC_URI = "${HANDHELDS_CVS};module=opie/library \
file://fix-titleheight.patch;patch=1"