void-packages/srcpkgs/chrony/template

33 lines
1009 B
Bash
Raw Normal View History

2011-10-13 21:15:59 +02:00
# Template file for 'chrony'
pkgname=chrony
2015-10-20 08:46:33 +02:00
version=2.2
revision=3
build_style=gnu-configure
2015-10-20 08:46:33 +02:00
configure_args="--without-nss --enable-scfilter --with-sendmail=/usr/bin/sendmail"
hostmakedepends="pkg-config"
2015-10-20 08:46:33 +02:00
makedepends="libtomcrypt-devel libcap-devel libedit-devel libseccomp-devel"
conf_files="/etc/chrony.conf"
system_accounts="chrony"
2014-11-23 09:12:04 +01:00
chrony_homedir="/var/db/chrony"
make_dirs="
/var/log/chrony 0755 chrony chrony
/var/db/chrony 0755 chrony chrony"
2011-10-13 21:15:59 +02:00
short_desc="Sets your computer's clock from time servers on the Net"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-10-13 21:15:59 +02:00
license="GPL-2"
2012-06-12 07:44:38 +02:00
homepage="http://chrony.tuxfamily.org/"
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
2015-10-20 08:46:33 +02:00
checksum=d3fd820fa63badf54ee0e48a649b94ea739df3aac5efa104bd90f89795aa2485
2015-11-29 21:53:21 +01:00
provides="ntp-daemon-0_1"
2014-10-02 09:59:09 +02:00
alternatives="
ntpd:ntpd:/usr/bin/chronyd
ntpd.8:ntpd.8:/usr/share/man/man8/chronyd.8
ntpd:ntpd:/etc/sv/chronyd"
2011-10-13 21:15:59 +02:00
post_install() {
2014-11-23 09:12:04 +01:00
vconf ${FILESDIR}/chrony.conf
vsv chronyd
2011-10-13 21:15:59 +02:00
rm -rf ${DESTDIR}/usr/share/doc
}