2009-03-10 08:37:29 +00:00
|
|
|
# Template file for 'ntp'
|
|
|
|
pkgname=ntp
|
|
|
|
sourcepkg=ntp
|
|
|
|
version=4.2.4p6
|
|
|
|
distfiles="http://archive.ntp.org/ntp4/$pkgname-$version.tar.gz"
|
|
|
|
build_style=gnu_configure
|
|
|
|
configure_args="--enable-linuxcaps --enable-getifaddrs=glibc
|
|
|
|
--enable-all-clocks --enable-parse-clocks --with-crypto=openssl
|
2009-03-13 22:55:25 +00:00
|
|
|
--enable-accurate-adjtime --without-rpath --enable-ipv6"
|
2009-03-10 08:37:29 +00:00
|
|
|
short_desc="The Network Time Protocol"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=647640067c7c6a4c568af54c139ce07bbf9f69b54bf9be2704b4c99c56651067
|
|
|
|
long_desc="
|
|
|
|
The Network Time Protocol (NTP) is used to synchronize a computer's
|
|
|
|
time with another reference time source. This package includes ntpd
|
|
|
|
(a daemon which continuously adjusts system time) and utilities used
|
|
|
|
to query and configure the ntpd daemon."
|
|
|
|
|
|
|
|
subpackages="perl"
|
|
|
|
|
|
|
|
Add_dependency full glibc
|
|
|
|
Add_dependency full openssl
|
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2009-03-11 05:31:56 +00:00
|
|
|
install -d ${DESTDIR}/etc/rc.d
|
|
|
|
install -d ${DESTDIR}/usr/share/ntp
|
|
|
|
install -d ${DESTDIR}/usr/share/doc/ntp
|
|
|
|
install -m 755 ${FILESDIR}/ntpd ${DESTDIR}/etc/rc.d/ntpd
|
|
|
|
install -m 755 ${FILESDIR}/ntpdate ${DESTDIR}/etc/rc.d/ntpdate
|
|
|
|
install -m 644 ${FILESDIR}/ntp.conf ${DESTDIR}/etc/ntp.conf
|
|
|
|
cp -a ${wrksrc}/html ${DESTDIR}/usr/share/doc/ntp
|
|
|
|
cp -a ${wrksrc}/conf ${DESTDIR}/usr/share/ntp
|
2009-03-10 08:37:29 +00:00
|
|
|
}
|