void-packages/srcpkgs/logrotate/template
2015-02-14 11:52:39 +01:00

22 lines
686 B
Text

# Template file for 'logrotate'
pkgname=logrotate
version=3.8.9
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="acl-devel popt-devel"
conf_files="/etc/logrotate.conf"
short_desc="Log file rotation and periodic maintenance"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://fedorahosted.org/logrotate/"
license="GPL-2"
distfiles="https://fedorahosted.org/releases/l/o/$pkgname/${pkgname}-${version}.tar.gz"
checksum=700ed7ce9072a1cca324779a74797dfaefdae37ac50a817134b947c4ded1dfa7
pre_configure() {
./autogen.sh
}
post_install() {
vconf ${FILESDIR}/logrotate.conf
vinstall ${FILESDIR}/logrotate.cron-daily 744 etc/cron.daily logrotate
}