void-packages/srcpkgs/logrotate/template
2017-07-01 12:51:45 +02:00

22 lines
686 B
Bash

# Template file for 'logrotate'
pkgname=logrotate
version=3.12.3
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@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/logrotate/logrotate"
distfiles="${homepage}/releases/download/${version}/logrotate-${version}.tar.xz"
checksum=2e6a401cac9024db2288297e3be1a8ab60e7401ba8e91225218aaf4a27e82a07
pre_configure() {
./autogen.sh
}
post_install() {
vconf ${FILESDIR}/logrotate.conf
vinstall ${FILESDIR}/logrotate.cron-daily 744 etc/cron.daily logrotate
}