# Template file for 'ntp' pkgname=ntp version=4.2.8p3 revision=2 build_pie=yes build_style=gnu-configure configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --enable-ntp-signd ol_cv_pthread_select_yields=yes" hostmakedepends="pkg-config bison perl" makedepends="libedit-devel libressl-devel libcap-devel libevent-devel" short_desc="The Network Time Protocol daemon and utilities" license="BSD" maintainer="Juan RP " homepage="http://www.ntp.org/" distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${version}.tar.gz" checksum=818ca4f2ed6ca845b1c5ec43f5e6ad905eaa0fc0aab2d509ed6b962a37fbf38f make_dirs="/var/db/ntpd 0755 ntpd ntpd" conf_files="/etc/ntp.conf" system_accounts="ntpd" ntpd_homedir="/var/db/ntpd" provides="ntp-daemon-0_1" replaces="ntp-daemon>=0" post_install() { vconf ${FILESDIR}/ntp.conf vsv ntpd rm -r ${DESTDIR}/usr/share/doc } ntp-perl_package() { depends="ntp>=$version perl" noarch=yes short_desc+=" - perl scripts" pkg_install() { vmove usr/bin/ntp-wait vmove usr/bin/ntptrace vmove usr/share/ntp/lib } }