void-packages/srcpkgs/ntp/template

34 lines
1.1 KiB
Plaintext
Raw Normal View History

# Template file for 'ntp'
pkgname=ntp
2011-12-28 06:04:35 +01:00
version=4.2.6p5
2012-07-13 18:14:37 +02:00
revision=3
build_style=gnu-configure
2011-10-06 09:29:27 +02:00
configure_args="--enable-linuxcap"
makedepends="readline-devel openssl-devel libcap-devel"
short_desc="The Network Time Protocol"
2011-10-06 09:29:27 +02:00
license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-07-09 23:26:16 +02:00
homepage="http://www.ntp.org/"
distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$version.tar.gz"
2011-12-28 06:04:35 +01:00
checksum=d6ab8371f9d31e594eb6922823d5ccd03dcc4e9d84b0e23ea25ac1405432f91c
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="$pkgname-perl"
conf_files="/etc/ntp.conf"
systemd_services="ntpd.service on"
2012-07-09 23:26:16 +02:00
post_install() {
vinstall ${FILESDIR}/ntpd.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/ntp.conf 644 etc
vinstall ${FILESDIR}/ntpd.logrotate 644 etc/logrotate.d ntpd
vmkdir usr/share/ntp
vmkdir usr/share/doc/ntp
vcopy html usr/share/doc/ntp
vcopy conf usr/share/ntp
}