summaryrefslogtreecommitdiff
path: root/recipes/opie-calculator/opie-calculator.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opie-calculator/opie-calculator.inc')
-rw-r--r--recipes/opie-calculator/opie-calculator.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/opie-calculator/opie-calculator.inc b/recipes/opie-calculator/opie-calculator.inc
new file mode 100644
index 0000000000..f2c4ddeab7
--- /dev/null
+++ b/recipes/opie-calculator/opie-calculator.inc
@@ -0,0 +1,19 @@
+DESCRIPTION = "Calculator"
+SECTION = "opie/applications"
+PRIORITY = "optional"
+LICENSE = "GPL"
+APPNAME = "calculator"
+
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+# FILES plugins/application/libcalculator.so* bin/calculator apps/Applications/calculator.desktop etc/unit_conversion.dat pics/calc
+do_install() {
+ install -d ${D}${palmtopdir}/pics/calc/
+ install -m 0644 ${WORKDIR}/pics/calc/*.png ${D}${palmtopdir}/pics/calc/
+ install -d ${D}${palmtopdir}/etc/
+ install -m 0644 ${WORKDIR}/etc/unit_conversion.dat ${D}${palmtopdir}/etc/
+}
+