summaryrefslogtreecommitdiff
path: root/packages/libqpe/libqpe-opie.inc
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 /packages/libqpe/libqpe-opie.inc
parentc4301a4f782a2260ba2d7209f6e99d13f2d7676d (diff)
libqpe: create -dev/-dbg packages - based on code from .oz354x
Diffstat (limited to 'packages/libqpe/libqpe-opie.inc')
-rw-r--r--packages/libqpe/libqpe-opie.inc24
1 files changed, 21 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}"