summaryrefslogtreecommitdiff
path: root/recipes/kdepimpi/pwmpi.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/kdepimpi/pwmpi.inc')
-rw-r--r--recipes/kdepimpi/pwmpi.inc39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes/kdepimpi/pwmpi.inc b/recipes/kdepimpi/pwmpi.inc
new file mode 100644
index 0000000000..9e3cd8eae7
--- /dev/null
+++ b/recipes/kdepimpi/pwmpi.inc
@@ -0,0 +1,39 @@
+DEPENDS_append = "kdepimpi-${PV}"
+
+SUBDIRS="pwmanager/libcrypt/mpi \
+ pwmanager/libcrypt/error \
+ pwmanager/libcrypt/cipher \
+ pwmanager/pwmanager \
+ "
+export OE_QMAKE_LINK="${CXX}"
+
+OE_QMAKE_CFLAGS_prepend="-I${S}/pwmanager/libcrypt/crypt "
+EXTRA_QMAKEVARS_POST += " \
+INCLUDEPATH+=${STAGING_INCDIR}/kdepimpi/ \
+LIBS+=-L${STAGING_LIBDIR}/kdepimpi/ \
+"
+
+do_configure_prepend() {
+}
+
+do_stage() {
+}
+
+do_unstage() {
+}
+
+do_install() {
+ install -d ${D}${bindir} \
+ ${D}${palmtopdir}/apps/Applications \
+ ${D}${palmtopdir}/pics/kdepim/pwmanager/icons16 \
+ ${D}${palmtopdir}/pics/kdepim/pwmanager/icons22
+
+ install -m 0644 ${S}/bin/kdepim/pwmanager/*.* ${D}${palmtopdir}/pics/kdepim/pwmanager
+ install -m 0644 ${S}/bin/kdepim/pwmanager/icons16/*.png ${D}${palmtopdir}/pics/kdepim/pwmanager/icons16
+ install -m 0644 ${S}/bin/kdepim/pwmanager/icons22/*.png ${D}${palmtopdir}/pics/kdepim/pwmanager/icons22
+ install -m 0644 pwmanager/pwmanager/pwmanager.desktop ${D}${palmtopdir}/apps/Applications/pwmanager.desktop
+
+ install -m 0755 ${S}/dest/pwmpi ${D}${bindir}
+}
+
+FILES_${PN} = "${palmtopdir} ${bindir}"