2009-10-04 14:17:19 +00:00
|
|
|
# Template file for 'logrotate'
|
|
|
|
pkgname=logrotate
|
2014-10-22 12:03:21 +00:00
|
|
|
version=3.8.8
|
2014-09-08 09:40:11 +00:00
|
|
|
revision=1
|
2014-10-22 12:03:21 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="automake libtool"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="popt-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/logrotate.conf"
|
2009-10-04 14:17:19 +00:00
|
|
|
short_desc="Log file rotation and periodic maintenance"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-07 08:26:07 +00:00
|
|
|
homepage="https://fedorahosted.org/logrotate/"
|
|
|
|
license="GPL-2"
|
2013-04-13 08:15:49 +00:00
|
|
|
distfiles="https://fedorahosted.org/releases/l/o/$pkgname/${pkgname}-${version}.tar.gz"
|
2014-10-22 12:03:21 +00:00
|
|
|
checksum=46a1510ef4a1f4359edd5f361112cfd1523942e85ff28e6cbb0c81bad1829d0f
|
2009-10-04 14:17:19 +00:00
|
|
|
|
2014-10-22 12:03:21 +00:00
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
2009-10-04 14:17:19 +00:00
|
|
|
}
|
|
|
|
|
2014-10-22 12:03:21 +00:00
|
|
|
post_install() {
|
2014-09-08 09:40:11 +00:00
|
|
|
vconf ${FILESDIR}/logrotate.conf
|
2011-07-07 08:26:07 +00:00
|
|
|
vinstall ${FILESDIR}/logrotate.cron-daily 744 etc/cron.daily logrotate
|
2009-10-04 14:17:19 +00:00
|
|
|
}
|