diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/sleuthkit.rb | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/Library/Formula/sleuthkit.rb b/Library/Formula/sleuthkit.rb index 1baaa2ffe..17ccd1886 100644 --- a/Library/Formula/sleuthkit.rb +++ b/Library/Formula/sleuthkit.rb @@ -1,15 +1,17 @@ require 'formula' class Sleuthkit < Formula - head 'https://github.com/sleuthkit/sleuthkit.git' - url 'http://downloads.sourceforge.net/project/sleuthkit/sleuthkit/3.2.3/sleuthkit-3.2.3.tar.gz' homepage 'http://www.sleuthkit.org/' - md5 '29465ebe32cfeb5f0cab83e4e93823c5' + url 'http://downloads.sourceforge.net/project/sleuthkit/sleuthkit/3.2.3/sleuthkit-3.2.3.tar.gz' + sha1 '85d100ffde54f051916a4ea9452563ff85fad4ac' + + head 'https://github.com/sleuthkit/sleuthkit.git' depends_on 'afflib' => :optional depends_on 'libewf' => :optional if ARGV.build_head? and MacOS.xcode_version >= "4.3" + depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build end @@ -17,16 +19,13 @@ class Sleuthkit < Formula def patches # required for new-ish libewf releases (API change) # fixed in the upcoming sleuthkit 4.x - "http://downloads.sourceforge.net/project/libewf/patches%20for%203rd%20party%20software/sleuthkit/tsk3.2.3-libewf.patch" if !ARGV.build_head? + if ARGV.build_stable? + "http://downloads.sourceforge.net/project/libewf/patches%20for%203rd%20party%20software/sleuthkit/tsk3.2.3-libewf.patch" + end end def install - if ARGV.build_head? - system "glibtoolize" - system "aclocal" - system "automake", "--add-missing", "--copy" - system "autoconf" - end + system "./bootstrap" if ARGV.build_head? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" |
