aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMark A. Matienzo2012-06-29 20:38:08 -0400
committerAdam Vandenberg2012-07-02 21:35:38 -0700
commitf60f3aa55957ad4bf50a9f5c8c400a9c434163a7 (patch)
tree830e3d7658a5c504aa2403c81a79700f861abf25 /Library/Formula
parent2acb5f9d562b6545618cbd54ce3fd605539af781 (diff)
downloadhomebrew-f60f3aa55957ad4bf50a9f5c8c400a9c434163a7.tar.bz2
sleuthkit: update head build to use bootstrap script
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sleuthkit.rb19
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"