summaryrefslogtreecommitdiff
path: root/packages/libopie/libopie2_1.1.8.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libopie/libopie2_1.1.8.bb')
-rw-r--r--packages/libopie/libopie2_1.1.8.bb33
1 files changed, 28 insertions, 5 deletions
diff --git a/packages/libopie/libopie2_1.1.8.bb b/packages/libopie/libopie2_1.1.8.bb
index 669fd5d1fc..f48ef36f2e 100644
--- a/packages/libopie/libopie2_1.1.8.bb
+++ b/packages/libopie/libopie2_1.1.8.bb
@@ -6,7 +6,7 @@ LICENSE = "LGPL"
I18N_FILES = "libopiecore2.ts libopiesecurity2.ts"
DEPENDS = "libqpe-opie sqlite3 libpcap"
PROVIDES = "libopiecore2 libopiedb2 libopiemm2 libopiesecurity2 libopienet2 libopiepim2 libopieui2 "
-PR = "r3"
+PR = "r4"
TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/libopie2 \
@@ -38,12 +38,12 @@ do_compile() {
do
install -m 0644 $i ${STAGING_INCDIR}/opie2/`basename $i`
done
-
+
for i in opimcontactsortvector.h opimoccurrence_p.h opimsortvector.h opimtodosortvector.h vobject_p.h
do
- install -m 0644 opiepim/private/$i ${STAGING_INCDIR}/opie2/private/
+ install -m 0644 opiepim/private/$i ${STAGING_INCDIR}/opie2/private/
done
-
+
oe_runmake MOC=${STAGING_BINDIR}/moc UIC=${STAGING_BINDIR}/uic DESTDIR=${S}
}
@@ -62,15 +62,38 @@ do_stage() {
install -m 0644 opiepim/core/opimtemplatebase.h ${STAGING_INCDIR}/opie2/
}
+EXAMPLES = "\
+ oconfigdemo \
+ oglobalsettingsdemo \
+ onetworkdemo \
+ oplugins \
+ osoundsystemdemo \
+ owidgetstack-example \
+ odebugdemo \
+ olistviewdemo \
+ onotifydemo \
+ oprocessdemo \
+ osplitter_example \
+ sqltest \
+"
+
do_install() {
install -d ${D}/${palmtopdir}/lib
for f in ${LIBS}
do
oe_libinstall -so libopie$f ${D}/${palmtopdir}/lib
done
+
+ install -d ${D}/${palmtopdir}/bin
+ for f in ${EXAMPLES}
+ do
+ install -m 0755 $f ${D}/${palmtopdir}/bin
+ done
}
-PACKAGES = "libopiecore2 libopiedb2 libopiesecurity2 libopiemm2 libopienet2 libopiepim2 libopieui2"
+PACKAGES = "libopie2-examples libopiecore2 libopiedb2 libopiesecurity2 libopiemm2 libopienet2 libopiepim2 libopieui2"
+
+FILES_libopie2-examples = "${palmtopdir}/bin"
FILES_libopiecore2 = "${palmtopdir}/lib/libopiecore2.so*"
FILES_libopiedb2 = "${palmtopdir}/lib/libopiedb2.so*"
FILES_libopiemm2 = "${palmtopdir}/lib/libopiemm2.so*"