homebrew-core/Formula/rkhunter.rb

16 lines
391 B
Ruby
Raw Normal View History

require 'formula'
class Rkhunter < Formula
homepage 'http://rkhunter.sourceforge.net/'
2014-03-16 00:08:51 +00:00
url 'https://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz'
sha1 'da01bc6757e14549560ad6ea46d1e93dbf5ac90f'
def install
system "./installer.sh", "--layout", "custom", prefix, "--install"
end
test do
system "#{bin}/rkhunter", "--version"
end
end