sleuthkit 4.0.0
Closes Homebrew/homebrew#15247. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
937ba439f8
commit
38eff1745a
|
@ -2,8 +2,8 @@ require 'formula'
|
|||
|
||||
class Sleuthkit < Formula
|
||||
homepage 'http://www.sleuthkit.org/'
|
||||
url 'http://downloads.sourceforge.net/project/sleuthkit/sleuthkit/3.2.3/sleuthkit-3.2.3.tar.gz'
|
||||
sha1 '85d100ffde54f051916a4ea9452563ff85fad4ac'
|
||||
url 'http://downloads.sourceforge.net/project/sleuthkit/sleuthkit/4.0.0/sleuthkit-4.0.0.tar.gz'
|
||||
sha1 '271f96eb1d179466fd8307824183edfa9a95ad9f'
|
||||
|
||||
head 'https://github.com/sleuthkit/sleuthkit.git'
|
||||
|
||||
|
@ -16,18 +16,11 @@ class Sleuthkit < Formula
|
|||
depends_on 'afflib' => :optional
|
||||
depends_on 'libewf' => :optional
|
||||
|
||||
def patches
|
||||
# required for new-ish libewf releases (API change)
|
||||
# fixed in the upcoming sleuthkit 4.x
|
||||
if build.stable?
|
||||
"http://downloads.sourceforge.net/project/libewf/patches%20for%203rd%20party%20software/sleuthkit/tsk3.2.3-libewf.patch"
|
||||
end
|
||||
end
|
||||
|
||||
def install
|
||||
system "./bootstrap" if build.head?
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue