chkrootkit: drop Makefile munging, install to bin
This commit is contained in:
parent
c911c4e0ff
commit
5bd323adfb
1 changed files with 2 additions and 7 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue