void-packages/srcpkgs/clockspeed/template
TJ Vanderpoel 3299466d7e New package: clockspeed-0.62
clockspeed: remove unused template variable

clockspeed: make arch-specific for x86/x86_64

* Add NOTES about what the package contains
* Add README and INSTALL to docs

clockspeed: depend on sv-helper for supervision
2015-02-25 13:59:47 -06:00

43 lines
1.1 KiB
Text

# Template file for 'clockspeed'
pkgname="clockspeed"
version="0.62"
revision=1
build_style="gnu-makefile"
makedepends="groff"
hostmakedepends="groff"
depends="sv-helper"
only_for_archs="i686 x86_64"
make_dirs="/etc/clockspeed 0755 root root"
short_desc="Dan Bernstein's clockspeed (network) timekeeping utility"
maintainer="bougyman <tj@rubyists.com>"
license="Public Domain"
homepage="http://cr.yp.to/clockspeed.html"
distfiles="http://cr.yp.to/clockspeed/clockspeed-0.62.tar.gz "
checksum=43539964c4b554794b2da760d138c5975cbc850f1c8ec2ee96f5dba66e0d9eed
system_accounts="clocksd"
clocksd_groups="nogroup"
clocksd_homedir="/var/lib/${pkgname}"
clocksd_descr="User for clockspeed adjustments"
conf_files="/etc/${pkgname}/${pkgname}.conf"
patch_args="-p1"
pre_build() {
sed -i -e 's|/usr/local/clockspeed|/var/lib/clockspeed|' conf-home
}
do_install() {
for binary in clockadd clockspeed clockview sntpclock taiclock taiclockd;
do
vbin $binary
done
vbin ${FILESDIR}/clockctl
vconf leapsecs.dat
vmkdir etc/clockspeed
vinstall ${FILESDIR}/clockspeed.conf 644 etc/clockspeed
vsv clockspeed
vsv clockspeed_adjust
vdoc README
vdoc INSTALL
vdoc ${FILESDIR}/NOTES
}