summaryrefslogtreecommitdiff
path: root/recipes/opie-systemtime/opie-systemtime.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opie-systemtime/opie-systemtime.inc')
-rw-r--r--recipes/opie-systemtime/opie-systemtime.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/opie-systemtime/opie-systemtime.inc b/recipes/opie-systemtime/opie-systemtime.inc
new file mode 100644
index 0000000000..724e38e432
--- /dev/null
+++ b/recipes/opie-systemtime/opie-systemtime.inc
@@ -0,0 +1,22 @@
+DESCRIPTION = "Set the system time - utilizing ntpdate, if available."
+SECTION = "opie/settings"
+PRIORITY = "optional"
+LICENSE = "GPL"
+RRECOMMENDS = "ntpdate"
+
+APPNAME = "systemtime"
+
+
+S = "${WORKDIR}/netsystemtime"
+
+inherit opie
+
+# FILES plugins/application/libsystemtime.so* bin/systemtime apps/Settings/systemtime.desktop etc/ntpservers pics/netsystemtime
+do_install() {
+ install -d ${D}${palmtopdir}/pics/netsystemtime/
+ install -d ${D}${palmtopdir}/etc
+ install -m 0644 ${WORKDIR}/pics/netsystemtime/*.png ${D}${palmtopdir}/pics/netsystemtime/
+ install -m 0644 ${WORKDIR}/etc/ntpservers ${D}${palmtopdir}/etc
+}
+
+FILES_opie-systemtime_append = " /etc/ntpservers"