dvbapp : TranscodingSetup update
[vuplus_openembedded] / recipes / ntp / ntp.inc
1 DESCRIPTION = "The Network Time Protocol (NTP) is used to \
2 synchronize the time of a computer client or server to \
3 another server or reference time source, such as a radio \
4 or satellite receiver or modem."
5 HOMEPAGE = "http://ntp.isc.org/bin/view/Main/WebHome"
6 SECTION = "console/network"
7 PRIORITY = "optional"
8 LICENSE = "ntp"
9 RSUGGESTS = "iana-etc"
10
11 SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${P}.tar.gz \
12         file://ipv6only-workaround.patch;patch=1 \
13         file://ntpd \
14         file://ntp.conf \
15         file://ntpdate"
16
17 inherit autotools update-rc.d
18
19 INITSCRIPT_NAME = "ntpd"
20 # No dependencies, so just go in at the standard level (20)
21 INITSCRIPT_PARAMS = "defaults"
22
23 # The ac_cv_header_readline_history is to stop ntpdc depending on either
24 # readline or curses
25 EXTRA_OECONF = "--without-openssl --without-crypto ac_cv_header_readline_history_h=no"
26 CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
27
28 PACKAGES += "ntpdate ntp-bin ntp-tickadj ntp-utils"
29 # NOTE: you don't need ntpdate, use "ntpdc -q -g -x"
30
31 # This should use rc.update
32 FILES_ntpdate = "${bindir}/ntpdate ${sysconfdir}/init.d/ntpdate"