void-packages/srcpkgs/openntpd/template

30 lines
801 B
Bash
Raw Normal View History

2015-01-08 21:43:50 +00:00
# Template file for 'openntpd'
pkgname=openntpd
2015-03-25 09:04:46 +00:00
version=5.7p4
revision=2
2015-03-05 08:34:46 +00:00
build_pie=yes
2015-01-08 21:43:50 +00:00
build_style=gnu-configure
2015-03-25 09:04:46 +00:00
configure_args="--with-privsep-user=$pkgname --with-cacert=/etc/ssl/certs.pem"
hostmakedepends="automake libtool"
makedepends="libressl-devel"
depends="ca-certificates"
2015-01-08 21:43:50 +00:00
short_desc="FREE, easy to use implementation of the Network Time Protocol"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2015-01-08 21:43:50 +00:00
license="BSD"
homepage="http://openntpd.org/"
distfiles="http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${pkgname}-${version}.tar.gz"
2015-03-25 09:04:46 +00:00
checksum=a993d95976e375acc0ab1a677fd268f55024477835633c8ae404895046bccb23
2015-01-08 21:43:50 +00:00
conf_files="/etc/ntpd.conf"
provides="ntp-daemon-0_1"
replaces="ntp-daemon>=0"
2015-01-08 21:43:50 +00:00
system_accounts="$pkgname"
2015-03-25 09:04:46 +00:00
pre_configure() {
autoreconf -fi
}
2015-01-08 21:43:50 +00:00
post_install() {
vsv $pkgname
2015-01-28 08:35:15 +00:00
vlicense COPYING
2015-01-08 21:43:50 +00:00
}