2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-09 16:08:32 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Logrotate < Formula
|
2009-09-24 17:49:32 +00:00
|
|
|
homepage 'http://packages.debian.org/testing/admin/logrotate'
|
2012-02-16 02:52:06 +00:00
|
|
|
url 'https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.8.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '1df36cee76a9c4c7438f35ca3599a7bdd68a09b5'
|
2009-09-09 16:08:32 +00:00
|
|
|
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'popt'
|
2009-09-09 16:08:32 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
2012-02-16 02:52:06 +00:00
|
|
|
sbin.install 'logrotate'
|
|
|
|
man8.install 'logrotate.8'
|
|
|
|
man5.install 'logrotate.conf.5'
|
|
|
|
(prefix+'etc/logrotate/examples').install Dir['examples/*']
|
2009-09-09 16:08:32 +00:00
|
|
|
end
|
|
|
|
end
|