homebrew-core/Formula/logrotate.rb
Trevor Wennblom 5027dfbde6 logrotate 3.8.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-16 20:10:24 -08:00

17 lines
453 B
Ruby

require 'formula'
class Logrotate < Formula
homepage 'http://packages.debian.org/testing/admin/logrotate'
url 'https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.8.1.tar.gz'
md5 'bd2e20d8dc644291b08f9215397d28a5'
depends_on 'popt'
def install
system "make"
sbin.install 'logrotate'
man8.install 'logrotate.8'
man5.install 'logrotate.conf.5'
(prefix+'etc/logrotate/examples').install Dir['examples/*']
end
end