void-packages/srcpkgs/tlsdate/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

29 lines
895 B
Bash

# Template file for 'tlsdate'
pkgname=tlsdate
version=0.0.12
revision=4
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
configure_args="--sbindir=/usr/bin
--with-polarssl=no ac_cv_func_clock_gettime=yes"
conf_files="/etc/tlsdate/tlsdated.conf"
make_dirs="/var/cache/tlsdated 0755 root root"
hostmakedepends="automake pkg-config libtool"
makedepends="libressl-devel dbus-devel libevent-devel"
short_desc="Secure parasitic rdate replacement using HTTPS"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="https://github.com/ioerror/tlsdate"
distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
checksum=e623f46710bd9adc2ba7a166822673de7d5dc45c179f92081a51504933f0915f
pre_configure() {
sh ./autogen.sh
}
post_install() {
vlicense LICENSE
rm ${DESTDIR}/usr/share/doc/${pkgname}/{TODO,LICENSE}
vsv tlsdated
}