void-packages/srcpkgs/logrotate/template

24 lines
677 B
Plaintext

# Template file for 'logrotate'
pkgname=logrotate
version=3.8.8
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="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=46a1510ef4a1f4359edd5f361112cfd1523942e85ff28e6cbb0c81bad1829d0f
pre_configure() {
./autogen.sh
}
post_install() {
vconf ${FILESDIR}/logrotate.conf
vinstall ${FILESDIR}/logrotate.cron-daily 744 etc/cron.daily logrotate
}