diff options
author | Koen Kooi <koen@openembedded.org> | 2008-01-03 10:55:48 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-01-03 10:55:48 +0000 |
commit | e6456ede2a1737515f82c0acce0f30604c5e013b (patch) | |
tree | 501fb9927f355205843da0959ebd9e3d9fe1663e /packages/ntpclient | |
parent | ee130e36ad7e36888782e3cae07ee9e053af4bd3 (diff) |
ntpclient: update to 2007_365 at the authors request
Diffstat (limited to 'packages/ntpclient')
-rw-r--r-- | packages/ntpclient/ntpclient_2007_365.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/ntpclient/ntpclient_2007_365.bb b/packages/ntpclient/ntpclient_2007_365.bb new file mode 100644 index 0000000000..b892f384e7 --- /dev/null +++ b/packages/ntpclient/ntpclient_2007_365.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "NTP (RFC-1305) client for unix-alike computers" +HOMEPAGE = "http://doolittle.icarus.com/ntpclient" +AUTHOR = "Larry Doolittle <larry@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 +} + |