autopsy: use patch DSL
This commit is contained in:
parent
762c800123
commit
af80c444c8
1 changed files with 3 additions and 5 deletions
|
@ -9,6 +9,9 @@ class Autopsy < Formula
|
|||
depends_on 'afflib' => :optional
|
||||
depends_on 'libewf' => :optional
|
||||
|
||||
# fixes weird configure script that wouldn't work nicely with homebrew
|
||||
patch :DATA
|
||||
|
||||
def autcfg; <<-EOS.undent
|
||||
# Autopsy configuration settings
|
||||
|
||||
|
@ -44,11 +47,6 @@ class Autopsy < Formula
|
|||
EOS
|
||||
end
|
||||
|
||||
def patches
|
||||
# fixes weird configure script that wouldn't work nicely with homebrew
|
||||
DATA
|
||||
end
|
||||
|
||||
def install
|
||||
(var+"lib/autopsy").mkpath
|
||||
mv 'lib', 'libexec'
|
||||
|
|
Loading…
Reference in a new issue