autopsy: use patch DSL

This commit is contained in:
Jack Nagel 2014-03-17 22:44:50 -05:00
parent 762c800123
commit af80c444c8

View file

@ -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'