+DESCRIPTION = "Set the system time - utilizing ntpdate, if available."
+SECTION = "opie/settings"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+RRECOMMENDS = "ntpdate"
+
+
+APPNAME = "systemtime"
+
+TAG = "${@'v' + oe.data.getVar('PV',d,1).replace('.', '_')}"
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;tag=${TAG};module=opie/noncore/settings/netsystemtime \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;tag=${TAG};module=opie/pics \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;tag=${TAG};module=opie/etc \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;tag=${TAG};module=opie/apps"
+
+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"
SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/noncore/settings/netsystemtime \
cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/pics \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/etc \
cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/apps"
S = "${WORKDIR}/netsystemtime"
# 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"