Merge oe-devel@oe-devel.bkbits.net:packages
[vuplus_openembedded] / ntp / ntp_4.1.2.oe
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
10 SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${PV}.tar.gz \
11            file://configure.patch;patch=1 \
12            file://ntpdate"
13
14 inherit autotools
15
16 EXTRA_OECONF = "--without-openssl"
17 CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
18
19 PACKAGES = "ntpdate ntp"
20
21 FILES_ntpdate = "/usr/bin/ntpdate /etc/init.d/ntpdate"
22
23 do_install_append() {
24         install -d ${D}/${sysconfdir}/init.d
25         install -m 755 ${WORKDIR}/ntpdate ${D}/${sysconfdir}/init.d
26 }