summaryrefslogtreecommitdiff
path: root/recipes/opie-icon-reload/opie-icon-reload.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opie-icon-reload/opie-icon-reload.inc')
-rw-r--r--recipes/opie-icon-reload/opie-icon-reload.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/opie-icon-reload/opie-icon-reload.inc b/recipes/opie-icon-reload/opie-icon-reload.inc
new file mode 100644
index 0000000000..a83aa34f96
--- /dev/null
+++ b/recipes/opie-icon-reload/opie-icon-reload.inc
@@ -0,0 +1,24 @@
+DESCRIPTION = "Reload .desktop files on the fly"
+SECTION = "opie/settings"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+PACKAGE_ARCH = "all"
+
+SRC_URI = "file://icon-reload.desktop \
+ file://icon-reload.sh \
+ file://reload.png"
+
+FILES_${PN} += "${palmtopdir}"
+
+do_install() {
+ install -d ${D}${palmtopdir}/apps/Settings
+ install -d ${D}${bindir}
+ install -d ${D}${palmtopdir}/pics
+
+ install -m 0644 ${WORKDIR}/icon-reload.desktop ${D}${palmtopdir}/apps/Settings
+ install -m 0755 ${WORKDIR}/icon-reload.sh ${D}${bindir}
+ sed -i -e 's,@bindir@,${bindir},g' ${D}${bindir}/icon-reload.sh
+ install -m 0644 ${WORKDIR}/reload.png ${D}${palmtopdir}/pics
+}
+