chkrootkit: drop Makefile munging, install to bin

This commit is contained in:
Jack Nagel 2013-12-28 17:28:22 -06:00
parent c911c4e0ff
commit 5bd323adfb

View file

@ -6,17 +6,12 @@ class Chkrootkit < Formula
sha1 'cec1a3c482b95b20d3a946b07fffb23290abc4a6'
def install
chmod 0644, 'Makefile' # Makefile is read-only
inreplace 'Makefile' do |s|
s.remove_make_var! 'STATIC'
end
system "make", "CC=#{ENV.cc}",
"CFLAGS=#{ENV.cflags}",
"STATIC=",
"sense", "all"
sbin.install %w{check_wtmpx chkdirs chklastlog chkproc
bin.install %w{check_wtmpx chkdirs chklastlog chkproc
chkrootkit chkutmp chkwtmp ifpromisc
strings-static}
doc.install %w{README README.chklastlog README.chkwtmp}