[oe-commits] org.oe.dev ntpclient: update to 2007_365 at the authors request
koen commit
openembedded-commits at lists.openembedded.org
Thu Jan 3 11:25:19 UTC 2008
ntpclient: update to 2007_365 at the authors request
Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: b56480f5496377245fb319218acc01132afd55d4
ViewMTN: http://monotone.openembedded.org/revision/info/b56480f5496377245fb319218acc01132afd55d4
Files:
1
packages/ntpclient/ntpclient_2007_365.bb
Diffs:
#
# mt diff -ra9cf4a7fde005b20905192e310ca984ba3cbdab4 -rb56480f5496377245fb319218acc01132afd55d4
#
#
#
# add_file "packages/ntpclient/ntpclient_2007_365.bb"
# content [d5bc8f8a34db32961a6955ff40660c464bbc2d5c]
#
============================================================
--- packages/ntpclient/ntpclient_2007_365.bb d5bc8f8a34db32961a6955ff40660c464bbc2d5c
+++ packages/ntpclient/ntpclient_2007_365.bb d5bc8f8a34db32961a6955ff40660c464bbc2d5c
@@ -0,0 +1,34 @@
+DESCRIPTION = "NTP (RFC-1305) client for unix-alike computers"
+HOMEPAGE = "http://doolittle.icarus.com/ntpclient"
+AUTHOR = "Larry Doolittle <larry at doolittle.boa.org>"
+RDEPENDS = "busybox"
+SECTION = "admin"
+LICENSE = "GPLv2"
+PR = "r0"
+# The ntpclient package uses version numbers that include an underscore :(
+PV = "2007_365"
+# ntpclient unpacks into a directory that doesn't include version info :(
+S = "${WORKDIR}/${PN}-2007"
+
+SRC_URI = "http://doolittle.icarus.com/ntpclient/ntpclient_${PV}.tar.gz \
+ file://init"
+
+INITSCRIPT_NAME = "ntpclient"
+INITSCRIPT_PARAMS = "defaults 65"
+inherit update-rc.d
+
+LDFLAGS += " -lrt "
+
+do_compile() {
+ oe_runmake ntpclient
+ oe_runmake adjtimex
+}
+
+do_install () {
+ # Install the binary and tools
+ install -D -m 0755 ${S}/ntpclient ${D}${base_sbindir}/ntpclient
+ install -D -m 0755 ${S}/adjtimex ${D}${base_sbindir}/adjtimex
+ install -D -m 0755 ${S}/rate.awk ${D}${sbindir}/ntpclient-drift-rate.awk
+ install -D -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/ntpclient
+}
+
More information about the Openembedded-commits
mailing list